From c581ad43d41f1881810851f3a3c171d2b06a27e8 Mon Sep 17 00:00:00 2001 From: Kotaro Sugawara Date: Thu, 16 May 2019 20:52:35 +0900 Subject: [PATCH] docs: fixed readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 44041c99..1bfac080 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,11 @@ $ cp www/js/index.js src/index.js const path = require('path'); module.exports = { - mode: 'development' + mode: 'development', entry: './src/index.js', output: { path: path.resolve(__dirname, 'www'), - filename: 'index.bundle.js' + filename: 'index.bundle.js', }, devtool: 'inline-source-map', }; @@ -107,15 +107,15 @@ If you want to customize `webpack` options, modify `webpack.config.js` file as f ... module.exports = { ... - mode: 'production' + mode: 'production', entry: './src/index.js', output: { path: path.resolve(__dirname, 'www'), - filename: 'bundle.js' + filename: 'bundle.js', }, plugins: [ - new HtmlWebpackPlugin() - ] + new HtmlWebpackPlugin(), + ], ... } ```