摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2020-11-27 22:11 阿jin 阅读(131) 评论(0) 推荐(0)
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2020-11-27 21:57 阿jin 阅读(125) 评论(0) 推荐(0)
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2020-11-27 05:18 阿jin 阅读(58) 评论(0) 推荐(0)
摘要: const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output: 阅读全文
posted @ 2020-11-27 04:47 阿jin 阅读(91) 评论(0) 推荐(0)
摘要: const { resolve } = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-pl 阅读全文
posted @ 2020-11-27 04:31 阿jin 阅读(47) 评论(0) 推荐(0)
摘要: const { resolve } = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-pl 阅读全文
posted @ 2020-11-27 04:27 阿jin 阅读(151) 评论(0) 推荐(0)
摘要: const { resolve } = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-pl 阅读全文
posted @ 2020-11-27 03:56 阿jin 阅读(154) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-27 03:26 阿jin 阅读(69) 评论(0) 推荐(0)
摘要: /* 开发环境配置:能让代码运行 运行项目指令: webpack 会将打包结果输出出去 npx webpack-dev-server 只会在内存中编译打包,没有输出 */ const { resolve } = require('path') const htmlWebpackPlugins = r 阅读全文
posted @ 2020-11-27 03:14 阿jin 阅读(74) 评论(0) 推荐(0)
摘要: const {resolve} = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry:'./src/index.js', output:{ filenam 阅读全文
posted @ 2020-11-26 04:59 阿jin 阅读(68) 评论(0) 推荐(0)