copy assets with webpack

This commit is contained in:
klangner 2020-10-17 22:27:05 +02:00
parent 422ad9ee08
commit 633ec7a535
3 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ module.exports = {
},
mode: "development",
plugins: [
new CopyWebpackPlugin(['index.html', 'assets'])
new CopyWebpackPlugin(['index.html', { from: 'assets', to: 'assets' }])
],
};

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB