Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 377 Bytes

readme.md

File metadata and controls

17 lines (14 loc) · 377 Bytes

remax 开发提速工具

当前仅支持支付宝,能大幅度提升大型项目的构建速度

  1. remax.config.js 里增加插件配置
const optimize = require('@remax/plugin-dev-optimize');

module.exports = {
  output: 'build',
  plugins: [
    optimize({})
  ]
};
  1. 先执行 remax prebuild 进行依赖预构建

  2. 正常执行 remax build -w -t ali