Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wepy2.x文件压缩插件,可压缩es6+/console/debugger #2790

Open
mikasayw opened this issue Apr 19, 2022 · 1 comment
Open

wepy2.x文件压缩插件,可压缩es6+/console/debugger #2790

mikasayw opened this issue Apr 19, 2022 · 1 comment

Comments

@mikasayw
Copy link

mikasayw commented Apr 19, 2022

Description

wepy文件压缩插件,可压缩es6+/wxml/json/wxss/console/debugger

  • Platform: [开发者工具/iOS/Andriod/Web]
  • terser
  • pretty-data

use

const WepyMiniPlugin = require('wepy-plugin-minify')

plugins: [
    WepyMiniPlugin()
]

result

result@2x

@mikasayw
Copy link
Author

mikasayw commented Apr 19, 2022

wepy-plugin-minify

@mikasayw mikasayw changed the title wepy文件压缩插件,可压缩es6+/console/debugger wepy2.x文件压缩插件,可压缩es6+/console/debugger Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant