上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 28 下一页
  2022年5月3日
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { // 单入口 // entry: './src/js/index.js' 阅读全文
posted @ 2022-05-03 14:25 weakup 阅读(24) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/glenshappy/article/details/119642331 阅读全文
posted @ 2022-05-03 14:18 weakup 阅读(9) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { // 单入口 // entry: './src/js/index.js' 阅读全文
posted @ 2022-05-03 13:37 weakup 阅读(132) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsWebpackPlugin = require(' 阅读全文
posted @ 2022-05-03 11:24 weakup 阅读(54) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsWebpackPlugin = require(' 阅读全文
posted @ 2022-05-03 10:47 weakup 阅读(247) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsWebpackPlugin = require(' 阅读全文
posted @ 2022-05-03 10:31 weakup 阅读(446) 评论(0) 推荐(0) 编辑
  2022年5月2日
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: ['./src/js/index.js', './src/ 阅读全文
posted @ 2022-05-02 18:13 weakup 阅读(107) 评论(0) 推荐(0) 编辑
摘要: /* HMR: hot module replacement 热模块替换 / 模块热替换 作用:一个模块发生变化,只会重新打包这一个模块(而不是打包所有模块) 极大提升构建速度 样式文件:可以使用HMR功能:因为style-loader内部实现了~ js文件:默认不能使用HMR功能 --> 需要修改 阅读全文
posted @ 2022-05-02 17:12 weakup 阅读(29) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsWebpackPlugin = require(' 阅读全文
posted @ 2022-05-02 16:50 weakup 阅读(69) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2022-05-02 16:32 weakup 阅读(84) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 28 下一页