Having webpack only copy over necessary files.

logins
Thomas Hintz 5 years ago
parent f0feb56328
commit bbd1c04c7a

@ -46,7 +46,8 @@ module.exports = {
chunkFilename: '[id].css',
}),
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/' }
]),
new webpack.LoaderOptionsPlugin({

Loading…
Cancel
Save