上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 28 下一页
  2022年5月4日
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2022-05-04 10:54 weakup 阅读(192) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/index.js', output: { f 阅读全文
posted @ 2022-05-04 10:44 weakup 阅读(14) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); /* entry: 入口起点 1. string --> './src/index.js' 单入口 打包形成一 阅读全文
posted @ 2022-05-04 10:43 weakup 阅读(55) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/index.js', output: { / 阅读全文
posted @ 2022-05-04 10:43 weakup 阅读(119) 评论(0) 推荐(0) 编辑
  2022年5月3日
摘要: webpack.dll.js/* 使用dll技术,对某些库(第三方库:jquery、react、vue...)进行单独打包 当你运行 webpack 时,默认查找 webpack.config.js 配置文件 需求:需要运行 webpack.dll.js 文件 --> webpack --confi 阅读全文
posted @ 2022-05-03 17:31 weakup 阅读(221) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2022-05-03 16:25 weakup 阅读(27) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsWebpackPlugin = require(' 阅读全文
posted @ 2022-05-03 16:14 weakup 阅读(58) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsWebpackPlugin = require(' 阅读全文
posted @ 2022-05-03 16:05 weakup 阅读(53) 评论(0) 推荐(0) 编辑
摘要: index.html<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title 阅读全文
posted @ 2022-05-03 15:43 weakup 阅读(197) 评论(0) 推荐(0) 编辑
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { // 单入口 entry: './src/js/index.js', o 阅读全文
posted @ 2022-05-03 14:28 weakup 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 28 下一页