Skip to content

Commit

Permalink
add browser: true to rollup's resolver options
Browse files Browse the repository at this point in the history
Importing axios was causing problems until I figured out why at
rollup/rollup-plugin-commonjs#28
  • Loading branch information
happycollision committed Jun 21, 2018
1 parent 6d54885 commit 6308f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function(defaults) {

rollup: {
plugins: [
resolve({ jsnext: true, module: true, main: true }),
resolve({ jsnext: true, module: true, main: true, browser: true }),
commonjs()
]
}
Expand Down

0 comments on commit 6308f93

Please sign in to comment.