-
-
Save x-yuri/46801063e7a8a27c8eb745adf39af725 to your computer and use it in GitHub Desktop.
separate babel configuration for project files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module: { | |
rules: [ | |
{test: /\.js$/, | |
include: path.resolve('src'), | |
loader: 'babel-loader', | |
options: { | |
babelrc: false, | |
presets: [['env', {modules: false}]] | |
}} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment