Skip to content

Commit

Permalink
feat: update demo4
Browse files Browse the repository at this point in the history
  • Loading branch information
huixisheng authored and huixisheng committed Jan 25, 2018
1 parent 7201f55 commit 2a54db0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo04/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions demo04/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "webpack-demo4",
"version": "1.0.0",
"scripts": {
"dev": "webpack-dev-server --open",
"build": "webpack -p"
},
"license": "MIT"
}
2 changes: 1 addition & 1 deletion demo04/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
filename: 'bundle.js'
},
module: {
loaders:[
rules: [
{ test: /\.css$/, loader: 'style-loader!css-loader' },
]
}
Expand Down

0 comments on commit 2a54db0

Please sign in to comment.