feat(custom): 地图apiKey更换,订单核销详情新增支付方式
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import Components from 'unplugin-vue-components/webpack';
|
||||
import NutUIResolver from '@nutui/nutui-taro/dist/resolver';
|
||||
import {UnifiedWebpackPluginV5} from 'weapp-tailwindcss/webpack';
|
||||
import {join} from 'node:path';
|
||||
import {argv} from 'yargs';
|
||||
import { UnifiedWebpackPluginV5 } from 'weapp-tailwindcss/webpack';
|
||||
import { join } from 'node:path';
|
||||
import { argv } from 'yargs';
|
||||
|
||||
const {robot = 1, desc} = argv;
|
||||
const { robot = 1, desc } = argv;
|
||||
|
||||
const CIPluginOptFn = async () => {
|
||||
/**
|
||||
@@ -25,7 +25,7 @@ const CIPluginOptFn = async () => {
|
||||
const config = {
|
||||
projectName: 'taroApp',
|
||||
date: '2023-8-13',
|
||||
designWidth(input: {file: string}) {
|
||||
designWidth(input: { file: string }) {
|
||||
if (input?.file?.replace(/\\+/g, '/').indexOf('@nutui') > -1) {
|
||||
return 375;
|
||||
}
|
||||
@@ -48,10 +48,10 @@ const config = {
|
||||
framework: 'vue3',
|
||||
compiler: {
|
||||
type: 'webpack5',
|
||||
prebundle: {enable: false},
|
||||
prebundle: { enable: false },
|
||||
},
|
||||
cache: {
|
||||
enable: false, // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
|
||||
enable: true, // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
|
||||
},
|
||||
sass: {
|
||||
data: `@import "@nutui/nutui-taro/dist/styles/variables.scss";`,
|
||||
@@ -75,7 +75,7 @@ const config = {
|
||||
});
|
||||
chain.plugin('unplugin-vue-components').use(
|
||||
Components({
|
||||
resolvers: [NutUIResolver({taro: true})],
|
||||
resolvers: [NutUIResolver({ taro: true })],
|
||||
}),
|
||||
);
|
||||
},
|
||||
@@ -110,7 +110,7 @@ const config = {
|
||||
webpackChain(chain) {
|
||||
chain.plugin('unplugin-vue-components').use(
|
||||
Components({
|
||||
resolvers: [NutUIResolver({taro: true})],
|
||||
resolvers: [NutUIResolver({ taro: true })],
|
||||
}),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user