File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ __webpack.config.js__
33
33
34
34
``` javascript
35
35
36
- modules . export = function (env ) {
36
+ module . exports = function (env ) {
37
37
return {
38
38
entry: ' ./index.js' ,
39
39
output: {
@@ -56,7 +56,7 @@ __webpack.config.js__
56
56
57
57
```javascript
58
58
59
- modules.export = function(env) {
59
+ module.exports = function(env) {
60
60
return {
61
61
entry: {
62
62
main: ' ./ index .js ' ,
@@ -85,7 +85,7 @@ __webpack.config.js__
85
85
` ` ` javascript
86
86
87
87
var webpack = require('webpack');
88
- modules.export = function(env) {
88
+ module.exports = function(env) {
89
89
return {
90
90
entry: {
91
91
main: './index.js',
@@ -119,7 +119,7 @@ __webpack.config.js__
119
119
``` javascript
120
120
121
121
var webpack = require (' webpack' );
122
- modules . export = function (env ) {
122
+ module . exports = function (env ) {
123
123
return {
124
124
entry: {
125
125
main: ' ./index.js' ,
@@ -138,4 +138,4 @@ modules.export = function(env) {
138
138
};
139
139
```
140
140
141
- With the above webpack config, we see three bundles being generated. ` vendor ` , ` main ` and ` manifest ` bundles.
141
+ With the above webpack config, we see three bundles being generated. ` vendor ` , ` main ` and ` manifest ` bundles.
You can’t perform that action at this time.
0 commit comments