Skip to content

Commit

Permalink
feat: add module, which is the new jsnext:main (#16)
Browse files Browse the repository at this point in the history
Both rollup.js and Webpack 2 now support `module` over `jsnext:main`,
so let's get that added.

See https://github.com/rollup/rollup/wiki/pkg.module
  • Loading branch information
swansontec authored and keithamus committed Jun 8, 2017
1 parent 094f089 commit 1688c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function sortPackageJson(packageJson) {
'contributors',
'files',
'main',
'module',
'jsnext:main',
'types',
'typings',
Expand Down

0 comments on commit 1688c95

Please sign in to comment.