Skip to content

Commit

Permalink
fix: fix index.html template [PT-186957289]
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanik committed Feb 12, 2024
1 parent 2740d5e commit 1a3d6d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@
</head>
<body>
<div id="app"></div>
<script src="app.js"></script>
</body>
</html>
9 changes: 8 additions & 1 deletion packages/tecrock-simulation/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,16 @@ module.exports = {
new CopyWebpackPlugin({
patterns: [{ from: 'public' }]
}),
new HtmlWebpackPlugin({
filename: 'index.html',
template: './src/index.html',
favicon: './public/favicon.ico',
publicPath: '.',
}),
...(DEPLOY_PATH ? [new HtmlWebpackPlugin({
filename: 'index-top.html',
template: './public/index.html',
template: './src/index.html',
favicon: './public/favicon.ico',
publicPath: DEPLOY_PATH,
})] : [])
]
Expand Down

0 comments on commit 1a3d6d7

Please sign in to comment.