@studyportals/webpack-helper 7.0.0-3 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,6 @@ WebpackHelper is a utility that makes it easy to set up a webpack configuration
|
|
|
17
17
|
- [preset](#preset)
|
|
18
18
|
- [bob](#bob)
|
|
19
19
|
- [common](#common)
|
|
20
|
-
- [staticPath](#staticpath-required)
|
|
21
20
|
- [development](#development)
|
|
22
21
|
- [production](#production)
|
|
23
22
|
- [Presets](#presets)
|
|
@@ -90,8 +89,6 @@ const configuration = WebpackHelper.create({
|
|
|
90
89
|
common: {
|
|
91
90
|
//any config
|
|
92
91
|
},
|
|
93
|
-
//needed for webpack-dev-server configuration
|
|
94
|
-
staticPath: path.join(__dirname, "."),
|
|
95
92
|
production: {
|
|
96
93
|
//any config
|
|
97
94
|
}
|
|
@@ -277,16 +274,6 @@ WebpackHelper uses [BobManifestGenerator](https://github.com/studyportals/BobMan
|
|
|
277
274
|
|
|
278
275
|
Extra Webpack configuration to be used for all environments can be passed in the `common` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
|
|
279
276
|
|
|
280
|
-
### staticPath **(required)**
|
|
281
|
-
|
|
282
|
-
Your configuration must include the following
|
|
283
|
-
|
|
284
|
-
```javascript
|
|
285
|
-
staticPath: path.join(__dirname, "."),
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
No Extra configuration is needed for the webpack-dev-server
|
|
289
|
-
|
|
290
277
|
### development
|
|
291
278
|
|
|
292
279
|
Extra Webpack configuration to be used for all development builds can be passed in the `development` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
|