From 214370f7f6482727106098dccebf5c18caf09874 Mon Sep 17 00:00:00 2001 From: asd Date: Sun, 1 Dec 2019 19:00:28 +0800 Subject: [PATCH] update --- 2019/12/webpack.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/2019/12/webpack.md b/2019/12/webpack.md index 8cb9f59..af0bb24 100644 --- a/2019/12/webpack.md +++ b/2019/12/webpack.md @@ -38,18 +38,4 @@ linux 系统 运行 yarn global bin 查看 yarn 的全局目录,然后 #expor /src index.js 要压缩的js文件 package.json 应用的默认配置 - - webpack.config.js - - >内容: - ``` -const path = require('path'); -module.exports = { - // 入口js路径 - entry: './src/index.js', - // 编译输出的js及路径 - output: { - filename: 'bundle.js', - path: path.resolve(__dirname, 'dist') - } -}; \ No newline at end of file + webpack.config.js \ No newline at end of file