摘要:
在scripts/start.js文件,注释掉openBrowser(urls.localUrlForBrowser)即可 阅读全文
摘要:
查看有哪些版本: npm view compression-webpack-plugin versions 安装旧版本: yarn add compression-webpack-plugin@5 修改webpack.config.js文件: const Co... 阅读全文
摘要:
安装: yarn add webpackbar 修改webpack.config.js文件: const WebpackBar = require('webpackbar')plugins: [ // ... new webpack.ProgressPlu... 阅读全文
摘要:
{ "script": { "build": "cross-env GENERATE_SOURCEMAP=false node scripts/build.js" }} 阅读全文
摘要:
装包: yarn add cross-env 配置: "start": "cross-env PORT=3030 node scripts/start.js", 阅读全文
摘要:
{ "homepage": "/edu/"} 或者: 需要安装 cross-env: yarn add cross-env { "script": { "build": "cross-env PUBLIC_URL=/edu/ node scripts... 阅读全文