Skip to content

Commit d359f18

Browse files
EugeneHlushkomontogeek
authored andcommitted
docs(guides): Asset management bundle finalename (#2635)
* docs(guides) asset management bundle finalename * docs(guides) asset management bundle filename in proper place
1 parent 082a5d3 commit d359f18

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/content/guides/asset-management.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@ __dist/index.html__
3636
</html>
3737
```
3838

39+
__webpack.config.js__
40+
41+
``` diff
42+
const path = require('path');
43+
44+
module.exports = {
45+
entry: './src/index.js',
46+
output: {
47+
- filename: 'main.js',
48+
+ filename: 'bundle.js',
49+
path: path.resolve(__dirname, 'dist')
50+
}
51+
};
52+
```
53+
3954

4055
## Loading CSS
4156

0 commit comments

Comments
 (0)