mirror of https://github.com/apache/superset.git
[webpack] fix copying images when running dev server (#9250)
This commit is contained in:
parent
52c59d6890
commit
1902fda159
|
@ -77,11 +77,14 @@ const plugins = [
|
|||
checkSyntacticErrors: true,
|
||||
}),
|
||||
|
||||
new CopyPlugin([
|
||||
new CopyPlugin(
|
||||
[
|
||||
'package.json',
|
||||
{ from: 'images', to: 'images' },
|
||||
{ from: 'stylesheets', to: 'stylesheets' },
|
||||
]),
|
||||
],
|
||||
{ copyUnmodified: true },
|
||||
),
|
||||
];
|
||||
|
||||
if (isDevMode) {
|
||||
|
|
Loading…
Reference in New Issue