-
-
Save samsch/15a058bd059b1bfe57d2400003348736 to your computer and use it in GitHub Desktop.
Added module property to webpack config.
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
}, | |
devServer: { | |
contentBase: path.join(__dirname, "public"), | |
https: true, | |
}, | |
+ module: { | |
+ rules: [ | |
+ { | |
+ test : /\.js/, | |
+ include: path.resolve(__dirname, 'src/'), | |
+ use: ['babel-loader'], | |
+ }, | |
+ ], | |
+ }, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment