Having webpack only copy over necessary files.
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user