Having webpack only copy over necessary files.
This commit is contained in:
@@ -46,7 +46,8 @@ module.exports = {
|
|||||||
chunkFilename: '[id].css',
|
chunkFilename: '[id].css',
|
||||||
}),
|
}),
|
||||||
new CopyPlugin([
|
new CopyPlugin([
|
||||||
{ from: './src/server/', to: './' },
|
{ from: './src/server/farm.scm', to: './farm.scm' },
|
||||||
|
{ from: './src/server/farm', to: './farm' },
|
||||||
{ from: './assets/game/', to: './assets/game/' }
|
{ from: './assets/game/', to: './assets/game/' }
|
||||||
]),
|
]),
|
||||||
new webpack.LoaderOptionsPlugin({
|
new webpack.LoaderOptionsPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user