feat: autolayout

This commit is contained in:
linonetwo 2023-07-16 12:41:44 +08:00 committed by lin onetwo
parent 18fcf66bc6
commit 0fe256ef59
10 changed files with 223 additions and 16 deletions

View file

@ -84,4 +84,13 @@ exports.renderer = _.compact([
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
? new BundleAnalyzerPlugin({ generateStatsFile: true, analyzerMode: 'disabled', statsFilename: '../../out/webpack-stats-renderer.json' })
: undefined,
new CopyPlugin({
patterns: [
// similar to noflo-ui's webpack.config.js
{
from: 'node_modules/klayjs/klay.js',
to: 'webWorkers/klayjs/klay.js',
},
],
}),
]);