Skip to content

Commit

Permalink
2nd
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquenov committed Mar 8, 2018
1 parent 3b41be8 commit 021a631
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
body {
background-color: blue;
background-color: lightblue;
}
File renamed without changes.
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "github-battle2",
"name": "github-fight",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "webpack-dev-server --open"
},
"babel": {
"presets": ["env", "react"]
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports = {
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'index_bundle.js'
}
},
module: {
rules: [
{ test: /\.(js)$/, use: 'babel-loader' },
{ test: /\.css$/, use: ['style-loader', 'css-loader']},
{ test: /\.css$/, use: ['style-loader', 'css-loader']}
]
},
plugins = [new HtmlWebpackPlugin({
plugins: [new HtmlWebpackPlugin({
template: 'app/index.html'
})]
}

0 comments on commit 021a631

Please sign in to comment.