This is an automated email from the ASF dual-hosted git repository.
erikrit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 1902fda [webpack] fix copying images when running dev server (#9250)
1902fda is described below
commit 1902fda15933f3c02ee670e3ec7e3703590134b5
Author: ʈᵃᵢ <[email protected]>
AuthorDate: Sun Mar 8 10:03:58 2020 -0700
[webpack] fix copying images when running dev server (#9250)
---
superset-frontend/webpack.config.js | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/superset-frontend/webpack.config.js
b/superset-frontend/webpack.config.js
index 516967b..acdec7d 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -77,11 +77,14 @@ const plugins = [
checkSyntacticErrors: true,
}),
- new CopyPlugin([
- 'package.json',
- { from: 'images', to: 'images' },
- { from: 'stylesheets', to: 'stylesheets' },
- ]),
+ new CopyPlugin(
+ [
+ 'package.json',
+ { from: 'images', to: 'images' },
+ { from: 'stylesheets', to: 'stylesheets' },
+ ],
+ { copyUnmodified: true },
+ ),
];
if (isDevMode) {