Restructure webpack and add favico

This commit is contained in:
Lukas Martinelli
2016-12-31 10:34:32 +01:00
parent 24a90b3c57
commit b50855a4a9
9 changed files with 9 additions and 41 deletions

View File

@@ -7,16 +7,6 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
const HOST = process.env.HOST || "127.0.0.1";
const PORT = process.env.PORT || "8888";
// local scss modules
loaders.push({
test: /[\/\\]src[\/\\].*\.scss/,
loaders: [
'style?sourceMap',
'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]',
'sass'
]
});
module.exports = {
target: 'web',
entry: [
@@ -30,9 +20,6 @@ module.exports = {
filename: 'bundle.js'
},
resolve: {
alias: {
'webworkify': 'webworkify-webpack'
},
extensions: ['', '.js', '.jsx']
},
module: {