Webpack doc fixes

This commit is contained in:
Elias Zeitfogel 2015-12-27 15:08:48 +01:00
parent c06679b379
commit 528795f323
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ start is to create an almost empty file:
Now we can `npm install` all the things we want:
```
$ npm install --save-dev webpack babel-core node-sass babel-loader sass-loader css-loader url-loader style-loader file-loader
$ npm install --save-dev webpack babel-core node-sass babel-loader sass-loader css-loader url-loader style-loader file-loader extract-text-webpack-plugin
```
This will install webpack itself together with babel and sass as well as
@ -77,8 +77,8 @@ var ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
entry: {
app: './js/main.js',
styles: './scss/main.scss'
'app': './js/main.js',
'styles': './scss/main.scss'
},
output: {
path: path.dirname(__dirname) + '/assets/static/gen',