First commit

This commit is contained in:
uwap 2017-09-12 19:17:33 +02:00
commit 9d69521b26
14 changed files with 3636 additions and 0 deletions

25
webpack.config.js Normal file
View file

@ -0,0 +1,25 @@
// webpack.config.js:
var path = require('path');
var webpack = require('webpack');
module.exports = {
resolve: {
extensions: ['.js', '.jsx']
},
entry: [
path.resolve(__dirname, 'src/index.jsx')
],
output: {
path: path.resolve(__dirname, 'public/dist'),
filename: 'main.js',
publicPath: 'dist/'
},
module: {
loaders: [
{ test: /\.css$/, loader: "style!css" },
{ test: /\.js(x)?$/, exclude: /node_modules/, loader: "babel-loader" }
]
},
devtool: 'source-map'
}