mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-05-22 06:35:33 +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);
|
}))].filter(Boolean);
|
||||||
// const publicCopyIgnore = ['.DS_Store'];
|
// const publicCopyIgnore = ['.DS_Store'];
|
||||||
webpackConfig
|
if (copyPatterns.length) {
|
||||||
.plugin('copy')
|
webpackConfig
|
||||||
.use(require.resolve('copy-webpack-plugin'), [{
|
.plugin('copy')
|
||||||
patterns: copyPatterns
|
.use(require.resolve('copy-webpack-plugin'), [{
|
||||||
}]);
|
patterns: copyPatterns
|
||||||
|
}]);
|
||||||
|
}
|
||||||
|
|
||||||
// --------------- define -----------
|
// --------------- define -----------
|
||||||
createDefineWebpackConfig({
|
createDefineWebpackConfig({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user