Skip to content

Commit cf68901

Browse files
authored
Merge pull request #8 from jaebradley/fix-es5-require
fix(es5-import): use babel plugin to update require
2 parents a6a15e9 + e8edcd8 commit cf68901

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
],
55
"ignore": [
66
"node_modules"
7+
],
8+
"plugins": [
9+
"add-module-exports"
710
]
811
}

package-lock.json

Lines changed: 6 additions & 0 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"@commitlint/prompt-cli": "^6.1.3",
5050
"axios": "^0.18.0",
5151
"babel-core": "^7.0.0-bridge.0",
52+
"babel-plugin-add-module-exports": "^0.2.1",
5253
"camelize": "^1.0.0",
5354
"codecov": "^3.0.0",
5455
"es-check": "^2.0.3",

0 commit comments

Comments
 (0)