随笔分类 - webpack
摘要:entry const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); /* entry: 入口起点 1. string --> './src/index.js' 单入口
阅读全文
摘要:package.json中需要引入的基础依赖 { "name": "XXX", "version": "1.0.0", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" },
阅读全文