Skip to content

TheraPackages/builder-plugin-weex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

builder-plugin-weex package

Build weex project created by thera into runnable bundle.

Build debug/release version

This package provides two build production (debug and release) for weex project in thera IDE. In debug version, debug code will be added to the output bundle.js for the purpose of debugging. While release bundle.js tries to be clean to improve the running performance. Additionally minify trick can be applied to build more compact output bundle.

Config build types

{
  "main": "index.vue",
  ...
  "build": {
    "apply": "debug",
    "types": {
      "debug": {
        "minify": false
      },
      "release": {
        "minify": true
      }
    }
  },
  ...
}