Skip to content

Commit 48d560a

Browse files
committed
fix: Transform modules via Babel to CommonJS instead of UMD
1 parent 1e51167 commit 48d560a

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎babel.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ module.exports = {
1414
plugins: [
1515
'@babel/plugin-proposal-object-rest-spread',
1616
'@babel/plugin-proposal-class-properties',
17-
'@babel/plugin-transform-modules-umd',
17+
'@babel/plugin-transform-modules-commonjs',
1818
],
1919
};

‎package-lock.json‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@babel/core": "^7.1.6",
4040
"@babel/plugin-proposal-class-properties": "^7.1.0",
4141
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
42-
"@babel/plugin-transform-modules-umd": "^7.2.0",
42+
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
4343
"@babel/preset-env": "^7.1.6",
4444
"@hellosign/eslint-config": "^1.4.0",
4545
"babel-core": "^7.0.0-bridge.0",

0 commit comments

Comments
 (0)