You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: part2/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,14 +106,13 @@ and that's actually all you need to do.
106
106
107
107
## Webpack
108
108
109
-
We're going to use the same exact config as in[example 7 from part 1](https://github.com/AriaFallah/WebpackTutorial/tree/master/part1/example7), but add the
109
+
We're going to use the same exact configs from[example 7 from part 1](https://github.com/AriaFallah/WebpackTutorial/tree/master/part1/example7), but add the
110
110
functionality needed to use ES6.
111
111
112
112
Current configs:
113
113
114
-
dev config
115
-
116
114
```javascript
115
+
// webpack.config.dev.js
117
116
var path =require('path')
118
117
var webpack =require('webpack')
119
118
var HtmlWebpackPlugin =require('html-webpack-plugin')
@@ -148,9 +147,10 @@ module.exports = {
148
147
}
149
148
```
150
149
151
-
prod config
150
+
and
152
151
153
152
```javascript
153
+
// webpack.config.prod.js
154
154
var path =require('path')
155
155
var webpack =require('webpack')
156
156
var HtmlWebpackPlugin =require('html-webpack-plugin')
0 commit comments