Skip to content

Commit

Permalink
feat: use addDefaultProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 24, 2020
1 parent dc9aca0 commit d62c41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (process.env.BABEL_KEEP_MODULES === "false" || !(process.env.BABEL_KEEP_MODUL
plugins.push(...[
require("@babel/plugin-transform-modules-commonjs"),
require("@babel/plugin-syntax-dynamic-import"),
require("babel-plugin-add-module-exports") // atom needs this
require("babel-plugin-add-module-exports",{"addDefaultProperty": true}) // atom needs this
]);
}

Expand Down

0 comments on commit d62c41a

Please sign in to comment.