Fix built assets
This commit is contained in:
parent
7c76b16d13
commit
021cac655c
4 changed files with 9 additions and 5 deletions
|
|
@ -18,6 +18,10 @@ import { handleFullScreen } from './scripts/handle-full-screen';
|
|||
import { Game } from './scripts/game';
|
||||
import { PlayerCharacterView } from './scripts/objects/player-character-view';
|
||||
|
||||
import '../static/settings.svg';
|
||||
import '../static/minimize.svg';
|
||||
import '../static/maximize.svg';
|
||||
|
||||
glMatrix.setMatrixArrayType(Array);
|
||||
|
||||
overrideDeserialization(CharacterBase, CharacterView);
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ module.exports = (env, argv) => ({
|
|||
}),
|
||||
new CleanWebpackPlugin({
|
||||
protectWebpackAssets: false,
|
||||
cleanAfterEveryBuildPatterns: ['*.js', '*.css'],
|
||||
cleanAfterEveryBuildPatterns: ['*', '!index.html', '!static*'],
|
||||
}),
|
||||
],
|
||||
module: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue