Add ReactSpa template

This commit is contained in:
SteveSandersonMS
2016-02-23 15:04:58 +00:00
parent 0c5eabc022
commit a55394638f
39 changed files with 3871 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var extractCSS = new ExtractTextPlugin('site.css');
module.exports = {
module: {
loaders: [
{ test: /\.css/, loader: extractCSS.extract(['css']) },
]
},
plugins: [
extractCSS,
new webpack.optimize.UglifyJsPlugin({ minimize: true })
]
};