
webpack
玫瑰花开一片一片
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
webpack 打包基础 配置
【代码】webpack 打包基础 配置。原创 2023-06-14 14:58:57 · 199 阅读 · 0 评论 -
如何发布自己的npm 包
npm 包发布原创 2021-11-26 09:17:39 · 599 阅读 · 0 评论 -
webpack 开发服务器 devServer: 用来自动化 配置
const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: './main.js', output: { filename: 'built.js', path: __dirname + '/build', }, module: { rules: [ ] }, plugins: [ new HtmlWebpackPlugin({ .原创 2020-05-15 10:39:36 · 255 阅读 · 0 评论 -
vue webpack打包时如何去掉console.log
在webpack.prod.conf.js plugins:[ ] 中 添加 new UglifyJsPlugin({ uglifyOptions: { compress: { warnings: false, // 打包后 log 就不会出现了 drop_debugger: true, ...原创 2019-07-02 13:25:30 · 3629 阅读 · 0 评论 -
webpack配置常用loader加载器
webpack配置常用loader加载器 webapck中使用loader的方法有三种 使用loader之前必须运行安装 : npm install --save-dev xxx-loader (1)通过CLI : 命令行中运行 webpack --module-bind jade --module-bind 'css=style!css' //jade,sty...转载 2019-08-14 21:39:29 · 406 阅读 · 0 评论 -
Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.
当Vue 引用CSS 会提示以下错误: 语法过时。。。。。 Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`. 并随之带有 一堆 css-loader 路径 Failed to compile. ./src/assets/css/button.css (./...原创 2019-08-15 10:26:48 · 2000 阅读 · 1 评论