Skip to content

Commit 4df4777

Browse files
committed
fix(copy-webpack-plugin): correcting the path
to prevent webpack errors
1 parent 35e13c6 commit 4df4777

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/uikit-workshop/webpack.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ const defaultConfig = {
2121
sourceMaps: true,
2222
watch: argv.watch ? true : false,
2323
publicPath: './styleguide/',
24-
copy: { patterns: [{ from: './src/images/**', to: 'images/[name][ext]' }] },
24+
copy: {
25+
patterns: [
26+
{ from: '../uikit-workshop/src/images/**', to: 'images/[name][ext]' },
27+
],
28+
},
2529
noViewAll: false,
2630
};
2731

0 commit comments

Comments
 (0)