mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-05-21 22:02:25 +08:00
fix: copy 没有public异常
This commit is contained in:
parent
25fffdf08e
commit
6a41a441a6
@ -250,11 +250,13 @@ export default async function getConfig({
|
||||
};
|
||||
}))].filter(Boolean);
|
||||
// const publicCopyIgnore = ['.DS_Store'];
|
||||
webpackConfig
|
||||
.plugin('copy')
|
||||
.use(require.resolve('copy-webpack-plugin'), [{
|
||||
patterns: copyPatterns
|
||||
}]);
|
||||
if (copyPatterns.length) {
|
||||
webpackConfig
|
||||
.plugin('copy')
|
||||
.use(require.resolve('copy-webpack-plugin'), [{
|
||||
patterns: copyPatterns
|
||||
}]);
|
||||
}
|
||||
|
||||
// --------------- define -----------
|
||||
createDefineWebpackConfig({
|
||||
|
Loading…
x
Reference in New Issue
Block a user