添加压缩
This commit is contained in:
parent
3ec479cd73
commit
b7326998d5
@ -4,7 +4,17 @@ module.exports = {
|
||||
},
|
||||
defineConstants: {
|
||||
},
|
||||
mini: {},
|
||||
mini: {
|
||||
terser: {
|
||||
enable: true,
|
||||
config: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
},
|
||||
mangle: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
h5: {
|
||||
/**
|
||||
* WebpackChain 插件配置
|
||||
|
@ -4,6 +4,17 @@ export default defineAppConfig({
|
||||
'pages/doQuestion/index',
|
||||
'pages/result/index',
|
||||
],
|
||||
// subPackages: [
|
||||
// {
|
||||
// root: 'pages/doQuestion',
|
||||
// pages: ['index'],
|
||||
// },
|
||||
// {
|
||||
// root: 'pages/result',
|
||||
// pages: ['index'],
|
||||
// },
|
||||
// ],
|
||||
lazyCodeLoading: 'requiredComponents',
|
||||
window: {
|
||||
backgroundTextStyle: 'light',
|
||||
navigationBarBackgroundColor: '#fff',
|
||||
|
@ -1,4 +1,6 @@
|
||||
@import "~taro-ui/dist/style/index.scss";
|
||||
@import "~taro-ui/dist/style/components/radio.scss";
|
||||
@import "~taro-ui/dist/style/components/button.scss";
|
||||
@import "~taro-ui/dist/style/components/icon.scss";
|
||||
|
||||
.at-button--primary {
|
||||
background: #88619a !important;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 86 KiB |
Binary file not shown.
Before Width: | Height: | Size: 462 KiB |
Loading…
Reference in New Issue
Block a user