mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 14:02:43 +08:00
fix(@angular-devkit/build-angular): override already existing assets in compilation
With this change we align the copying of assets between `ng build` and `ng serve`. Previously in `ng serve` already copied assets where not overridden. More info: https://webpack.js.org/plugins/copy-webpack-plugin/#force Closes #18787
This commit is contained in:
parent
1d0d90e1b1
commit
4d2f4ec2c1
@ -277,6 +277,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
|
||||
to: output.replace(/^\//, ''),
|
||||
from: glob,
|
||||
noErrorOnMissing: true,
|
||||
force: true,
|
||||
globOptions: {
|
||||
dot: true,
|
||||
ignore: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user