摘要:
npm install --save-dev file-loader #配置 const {resolve} = require('path'); module.exports = { entry: './src/index.js', //入口文件 output: { filename: 'main 阅读全文
posted @ 2021-06-16 11:06
dafeiyunli
阅读(101)
评论(0)
推荐(0)
摘要:
#安装loader npm install --save-dev style-loader css-loader #配置 const {resolve} = require('path'); module.exports = { entry: './src/index.js', output: { 阅读全文
posted @ 2021-06-16 10:49
dafeiyunli
阅读(32)
评论(0)
推荐(0)
摘要:
创建文件夹 mkdir webpack-demo cd webpack-demo 初始化 npm init -y // 初始化 安装webpack webpack-cli npm install webpack webpack-cli -D 创建webpack.config.js文件 //配置入口文 阅读全文
posted @ 2021-06-16 10:48
dafeiyunli
阅读(29)
评论(0)
推荐(0)
浙公网安备 33010602011771号