scratch-www/.babelrc
Paul Kaplan 8e4ee5fb7a feat(build): support dynamic import
add the babel plugin for dynamic import syntax and fixup the path references in webpack and template
so the chunks can be loaded dynamically
2021-07-12 14:34:17 -04:00

8 lines
173 B
Text

{
"plugins": [
"transform-object-rest-spread",
"transform-require-context",
"syntax-dynamic-import"
],
"presets": ["es2015", "react"],
}