mirror of https://github.com/webpack/webpack.git
58 lines
498 B
Markdown
58 lines
498 B
Markdown
|
This example demonstrates how to use webpack internal ManifestPlugin.
|
||
|
|
||
|
# example.js
|
||
|
|
||
|
```js
|
||
|
_{{example.js}}_
|
||
|
```
|
||
|
|
||
|
# foo.txt
|
||
|
|
||
|
```js
|
||
|
_{{foo.txt}}_
|
||
|
```
|
||
|
|
||
|
# bar.txt
|
||
|
|
||
|
```js
|
||
|
_{{bar.txt}}_
|
||
|
```
|
||
|
|
||
|
# baz.js
|
||
|
|
||
|
```js
|
||
|
_{{baz.js}}_
|
||
|
```
|
||
|
|
||
|
# webpack.config.js
|
||
|
|
||
|
```javascript
|
||
|
_{{webpack.config.js}}_
|
||
|
```
|
||
|
|
||
|
# dist/manifest.json
|
||
|
|
||
|
```json
|
||
|
_{{dist/manifest.json}}_
|
||
|
```
|
||
|
|
||
|
# dist/manifest.yml
|
||
|
|
||
|
```yml
|
||
|
_{{dist/manifest.yml}}_
|
||
|
```
|
||
|
|
||
|
# Info
|
||
|
|
||
|
## Unoptimized
|
||
|
|
||
|
```
|
||
|
_{{stdout}}_
|
||
|
```
|
||
|
|
||
|
## Production mode
|
||
|
|
||
|
```
|
||
|
_{{production:stdout}}_
|
||
|
```
|