Skip to content

Commit

Permalink
feat: up
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-advokate committed Sep 12, 2024
1 parent 9a520e3 commit 1c81ff0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default [
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
globals: { ...globals.browser, ...globals.node, process: true },
globals: { ...globals.browser, ...globals.node },
// parser: "",
// parserOptions: {},
},
Expand Down
2 changes: 1 addition & 1 deletion public/build.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1726109863940"}
{"version":"1726110474969"}
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Object.keys(Icons).forEach((key) => {
});

// vant
import "vant/lib/index.css";
// import "vant/lib/index.css";

// 营销组件
// import VueLuckyCanvas from "@lucky-canvas/vue";
Expand Down
3 changes: 1 addition & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ const __APP_INFO__ = {
export default defineConfig(({ command, mode }) => {
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// eslint-disable-next-line no-undef
const envConfig = getEnvConfig(loadEnv(mode, process.cwd(), ""));
const envConfig = getEnvConfig(loadEnv(mode, import.meta.dirname, ""));
const browserslistConfig = browserslist.loadConfig({ path: "." });
const isBuild = command.includes("build");
/**
Expand Down

0 comments on commit 1c81ff0

Please sign in to comment.