readme now with markdown headers

master
Michael Murtaugh 3 years ago
parent b61a6ee039
commit abbf5df484

@ -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). 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', entry: './src/hello.js',
mode: 'production', mode: 'production',
``` ```
Also if you want to do it like other projects, you can add your "build command" to the package.json like this: 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", "main": "webpack.config.js",
"scripts": { "scripts": {

Loading…
Cancel
Save