|
@@ -1,9 +1,11 @@
|
1
|
1
|
import { defineConfig } from "@tarojs/cli";
|
2
|
2
|
|
3
|
|
-const path = require("path");
|
4
|
|
-
|
5
|
3
|
import devConfig from "./dev";
|
6
|
4
|
import prodConfig from "./prod";
|
|
5
|
+
|
|
6
|
+// eslint-disable-next-line import/no-commonjs
|
|
7
|
+const path = require("path");
|
|
8
|
+
|
7
|
9
|
const url = "http://localhost:9087";
|
8
|
10
|
const url2 = "https://apis.map.qq.com";
|
9
|
11
|
|
|
@@ -12,7 +14,7 @@ export default defineConfig(async (merge, { command, mode }) => {
|
12
|
14
|
projectName: "civilized-miniapp",
|
13
|
15
|
date: "2024-03-21",
|
14
|
16
|
designWidth(input) {
|
15
|
|
- console.log("---->", input?.file);
|
|
17
|
+ // console.log("---->", input?.file);
|
16
|
18
|
// if (input?.file.replace(/\\+/g, '/').indexOf('@antmjs/vantui') > -1) {
|
17
|
19
|
// return 750
|
18
|
20
|
// }
|