随笔分类 -  webpack

摘要:entry const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); /* entry: 入口起点 1. string --> './src/index.js' 单入口 阅读全文
posted @ 2021-03-10 14:32 AaronHuang 阅读(92) 评论(0) 推荐(0) 编辑
摘要:package.json中需要引入的基础依赖 { "name": "XXX", "version": "1.0.0", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, 阅读全文
posted @ 2021-03-09 18:28 AaronHuang 阅读(101) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示