Skip to content

Commit

Permalink
add dynamic import pkg for babel
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremie-gauthier committed Oct 31, 2020
1 parent 2c33f5a commit f48ec9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@babel/preset-react"
],
"plugins": [
"syntax-dynamic-import",
"@babel/plugin-transform-react-jsx-source",
"@babel/plugin-transform-runtime",
"module:fast-async"
Expand Down
13 changes: 5 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"dependencies": {
"@babel/plugin-transform-runtime": "^7.11.5",
"@hapi/hoek": "^9.1.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"cache-loader": "^4.1.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^4.1.0",
"i18next": "^19.8.3",
"i18next-browser-languagedetector": "^6.0.1",
"joi": "^14.3.1",
"multer": "^1.4.2",
"nanoid": "^3.1.12",
Expand Down

0 comments on commit f48ec9e

Please sign in to comment.