ecomfe/reskript

reskript是否支持dll配置

Closed this issue · 0 comments

背景:
项目依赖的模块比较多,每次编译的时间都很长,短则10分钟长则30分钟,想提升编译的速度,将稳定的包版本提前构建在dll中。
编译提速方案:
1、import {buildFast} from '@reskript/plugin-experimental',本地编译正常,pipleline中报错
image
2、使用dll方式,运行skr dev报错
image
具体的使用方式:

webpackConfig.plugins.push(
                new webpack.DllReferencePlugin({
                    manifest: path.resolve(__dirname, 'dist', 'vendor.manifest.json')
                })
);