Skip to content

Commit

Permalink
moved away from jsnext:main in favor of the updated module standard
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Nov 9, 2016
1 parent 06549e4 commit 997a688
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions grunt/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
},
es6: {
options: {
format: 'es6',
format: 'es',
plugins: [
babel({
babelrc: false,
Expand All @@ -28,7 +28,7 @@ module.exports = {
]
},
files: {
'dist/any.mjs': 'any.js'
'dist/any.module.js': 'any.js'
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.6.1",
"description": "random data generator for when test data is insignificant",
"main": "dist/any.js",
"jsnext:main": "dist/any.mjs",
"module": "dist/any.module.js",
"scripts": {
"test": "grunt",
"preversion": "npm test",
Expand Down

0 comments on commit 997a688

Please sign in to comment.