master
Matt Huntington 8 years ago
parent db9f69f5ed
commit 452251e001

@ -206,7 +206,7 @@ Modify the webpack config to use these:
module.exports = { module.exports = {
entry: './js/index.js', entry: './js/index.js',
output: { output: {
filename: 'dist/bundle.js' filename: 'bundle.js'
}, },
module: { module: {
rules: [ rules: [
@ -234,7 +234,7 @@ class Foo {
} }
``` ```
The result in `dist/build.js` is the ES5 version: The result in `dist/build.js` is the ES5 version (may be minified):
```javascript ```javascript
var Foo = function () { var Foo = function () {

Loading…
Cancel
Save