Skip to content

Commit 81d3922

Browse files
committed
Set "module" key, add "type": "module" key, remove "main" key.
1 parent e60da42 commit 81d3922

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = function(grunt) {
4848
tasks: ['jshint']
4949
},
5050
copy : {
51-
main : {
51+
main : {
5252
files: [
5353
{
5454
expand: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"web-map",
1313
"layer"
1414
],
15-
"main": "mapml.js",
1615
"module": "mapml.js",
16+
"type": "module",
1717
"author": "Maps for HTML Community Group",
1818
"repository": {
1919
"type": "git",

0 commit comments

Comments
 (0)