Skip to content

Commit

Permalink
Update production webpack file
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Jul 13, 2022
1 parent 51495c1 commit 29d5f70
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build/webpack.prod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,14 @@ const webpackConfig = merge(baseWebpackConfig, {
ignore: ['.*']
}
]),
new CopyWebpackPlugin([ { from: path.join(cesiumSource, cesiumWorkers), to: 'Workers' } ]),
new CopyWebpackPlugin([ { from: path.join(cesiumSource, 'Assets'), to: 'Assets' } ]),
new CopyWebpackPlugin([ { from: path.join(cesiumSource, 'Widgets'), to: 'Widgets' } ])
new CopyWebpackPlugin([
{from: path.join(cesiumSource, 'Assets'), to: 'Assets'},
{from: path.join(cesiumSource, 'ThirdParty'), to: 'ThirdParty'},
{from: path.join(cesiumSource, 'Widgets'), to: 'Widgets'},
{from: path.join(cesiumSource, 'Workers'), to: 'Workers'},
{from: path.join(cesiumSource, '../Build/Cesium/ThirdParty/Workers'), to: 'ThirdParty/Workers', force: true},
{from: path.join(cesiumSource, '../Build/Cesium/Workers'), to: 'Workers', force: true}
])
]
})

Expand Down

0 comments on commit 29d5f70

Please sign in to comment.