Skip to content

Commit

Permalink
chore(babel): install "dynamic-import-node"
Browse files Browse the repository at this point in the history
transpile import() to a deferred require() for Node
  • Loading branch information
aneurysmjs committed May 27, 2019
1 parent e911563 commit 5225d0b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
}
},
"plugins": [
"dynamic-import-node",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-modules-commonjs",
Expand Down
3 changes: 0 additions & 3 deletions gulpfile.babel.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"babel-eslint": "10.0.1",
"babel-jest": "24.8.0",
"babel-loader": "8.0.6",
"babel-plugin-dynamic-import-node": "2.2.0",
"body-parser": "1.19.0",
"case-sensitive-paths-webpack-plugin": "2.2.0",
"chalk": "2.4.2",
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2185,6 +2185,13 @@ [email protected]:
mkdirp "^0.5.1"
pify "^4.0.1"

[email protected]:
version "2.2.0"
resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.2.0.tgz#c0adfb07d95f4a4495e9aaac6ec386c4d7c2524e"
integrity sha512-fP899ELUnTaBcIzmrW7nniyqqdYWrWuJUyPWHxFa/c7r7hS6KC8FscNfLlBNIoPSc55kYMGEEKjPjJGCLbE1qA==
dependencies:
object.assign "^4.1.0"

babel-plugin-istanbul@^5.1.0:
version "5.1.1"
resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.1.tgz#7981590f1956d75d67630ba46f0c22493588c893"
Expand Down

0 comments on commit 5225d0b

Please sign in to comment.