mirror of
https://github.com/infeng/react-viewer.git
synced 2025-12-08 17:36:40 +00:00
website: modify output filename
This commit is contained in:
parent
59aaa95068
commit
2f6cf11d8a
@ -10,6 +10,7 @@ if (fs.existsSync(distPath)) {
|
||||
|
||||
config.entry('index').clear().add('./demo/index.tsx');
|
||||
config.output.path(distPath);
|
||||
config.output.filename('index.[contenthash].js');
|
||||
config.mode('production');
|
||||
config.plugin('html-webpack-plugin')
|
||||
.use(HtmlWebpackPlugin, [{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user