摘要: 1、webpack4.20 + ExtractTextWebpackPlugin,编译时报错: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead 执行:yarn add e 阅读全文
posted @ 2018-10-09 16:05 九萌萌 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 1、新建一个文件夹 2、在文件夹下运行yarn init 3、运行yarn global add webpack(此处是全局安装,如果你是局部安装的,想要使用webpack命令必须进入node_modules/.bin/webpack才能执行webpack命令,.bin目录包含的是一系列可以执行的命 阅读全文
posted @ 2018-10-09 10:57 九萌萌 阅读(2255) 评论(0) 推荐(0) 编辑