0.1.4 • Published 2 years ago
weapp-launcher v0.1.4
Weapp Launcher

- install
# pnpm
pnpm add weapp-launcher -D
# npm
npm install weapp-launcher -D
# yarn
yarn add weapp-launcher -D- set scripts
{
  "scripts": {
    // ...
    "dev": "weapp-launcher"
    // ...
  }
}- run
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
weapp-launcher.config.jsonwill be generated and saved incwdon the first run.{ "script": "dev", "devtoolPath": "/Applications/wechatwebdevtools.app" }Wechat Devtool will launch automatically when the build completed.
📢 The developer tools' path CANNOT contain spaces!!!