fingerpan / vue-cli-plugin-dll

Vue CLI 3 plugin for Webpack DllPlugin/DllReferencePlugin
MIT License
76 stars 22 forks source link

fix: require dll.js error and npm dep #15

Closed lynzz closed 5 years ago

fingerpan commented 5 years ago

能够说明一下原因吗?

  1. 为何在git忽略文件加上.history呢?
  2. vue-loader, mini-css-extract-plugin, friendly-errors-webpack-plugin 是基于vue-cli 3中必安装的三个插件,是否有必要声明在依赖中?
lynzz commented 5 years ago
  1. 自己编辑器装了 history 插件,会自动会有 .history 目录,所以加到 ignore 了
  2. 我工程也是用 vue-cli3 生成的,用你这个 执行 yarn serve 时,会提示没这个三包,我去 node_modules 看也是没有的。
teal-front commented 5 years ago

能够说明一下原因吗?

  1. 为何在git忽略文件加上.history呢?
  2. vue-loader, mini-css-extract-plugin, friendly-errors-webpack-plugin 是基于vue-cli 3中必安装的三个插件,是否有必要声明在依赖中?

As old time i sad, add to peerDependencies field in package.json, this's ok. perfect!

teal-front commented 5 years ago

oh, just add to peerDependencies,this's right thing. you haha not listen my word.