Created
May 19, 2016 06:04
-
-
Save NSLog0/832999d9254667229e5798a495b54210 to your computer and use it in GitHub Desktop.
Turorial for React and Spring Boot
This file contains hidden or 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
var path = require("path"); | |
module.exports = { | |
devtool: 'source-map', | |
entry: './index.js', | |
output: { | |
path: path.resolve(__dirname, "build"), | |
publicPath: "/", | |
filename: "bundle.js" | |
}, | |
module: { | |
loaders: [{ | |
test: /\.jsx?$/, | |
exclude: /(node_modules)/, | |
loader: 'babel-loader' | |
}] | |
}, | |
resolve: { | |
extensions: ['', '.js', '.jsx'] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment