1234567891011121314151617181920212223242526272829 |
- import type { UserConfigExport } from "@tarojs/cli";
- export default {
- logger: {
- quiet: false,
- stats: true
- },
- mini: {
- // webpackChain: (chain, webpack) => {
- // chain.merge({
- // plugin: {
- // install: {
- // plugin: require('terser-webpack-plugin'),
- // args: [
- // {
- // terserOptions: {
- // compress: true, // 默认使用terser压缩
- // // mangle: false,
- // keep_classnames: false, // 不改变class名称
- // keep_fnames: false, // 不改变函数名称
- // },
- // },
- // ],
- // },
- // },
- // })
- // },
- },
- h5: {}
- } satisfies UserConfigExport
|