Skip to content

Commit

Permalink
feat: use new node resolve options (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Apr 24, 2019
1 parent deb023d commit 9f3c973
Show file tree
Hide file tree
Showing 3 changed files with 485 additions and 385 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const getSettings = function(options) {
commonjs: commonjs({sourceMap: false}),
json: json(),
multiEntry: multiEntry({exports: false}),
resolve: resolve({browser: true, main: true, jsnext: true}),
resolve: resolve({browser: true, mainFields: ['module', 'jsnext', 'main']}),
uglify: terser({output: {comments: 'some'}}),
istanbul: istanbul({exclude: settings.excludeCoverage})
};
Expand Down
Loading

0 comments on commit 9f3c973

Please sign in to comment.