diff --git a/README.md b/README.md index 4044bf7..717092d 100644 --- a/README.md +++ b/README.md @@ -55,13 +55,13 @@ Look at hello.html (which uses dist/bundle.js). Eventually you can set the mode option to "production" to make the output smaller (takes more time though to build it and debugging might be harder when there are bugs). -`` +```javascript entry: './src/hello.js', mode: 'production', ``` Also if you want to do it like other projects, you can add your "build command" to the package.json like this: -``` +```javascript ... "main": "webpack.config.js", "scripts": {