dll-link-webpack-plugin
dll-link-webpack-plugin copied to clipboard
Simplifies creation of webpack DLL file.
const NODE_MODULES_PATH = path.resolve("./node_modules"); In lerna monorepo, NODE_MODULES_PATH should by resolve.modules in webpack config.
TypeError: Cannot read property 'version' of undefined at util_1.entries.map (/Users/xxxx/www/healthpro/healthpro/node_modules/@fmtk/package-list/lib/yarn.js:75:52) at Array.map () at mapDependencies (/Users/xxxx/www/healthpro/healthpro/node_modules/@fmtk/package-list/lib/yarn.js:71:10) at Object.keys.map.ref (/Users/xxxx/www/healthpro/healthpro/node_modules/@fmtk/package-list/lib/yarn.js:61:32) at Array.map () at rewriteLock (/Users/xxxx/www/healthpro/healthpro/node_modules/@fmtk/package-list/lib/yarn.js:54:34) at Object.getPackageListFromYarn (/Users/xxxx/www/healthpro/healthpro/node_modules/@fmtk/package-list/lib/yarn.js:40:12) at Object.getPackageList...
webpack -v 4.31.0 问题:当我执行完 webpack-dev-server --mode=development --config demo-dll-link-webpack-plugin.config.js 后,dll会先打包一次,然后我继续修改app.js中的内容时,**每次修改过后**都会重新打包一下dll文件,如图: 
寻求帮助
我使用的 `create-react-app` 创建的项目,现在项目文件过多,导致编译十分缓慢,看了您这个插件,也许可以改善,但是不知道怎么使用,我使用的`react-app-rewired` + `customize-cra` 去修改webpack
使用你的实例 npm run html 修改lib 的内容一直走的是缓存
A path.join(publicPath, name)) method cann't parse "\\fezz.xx.xx/xx" in hookIntoHTML method of src/index.ts
Do you have a sample config for your plugin with webpack-dev-server ?