Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Oct 31, 2024
1 parent 796ad0a commit d416a27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { definePreset } from "@primevue/themes";
import LycheePrimeVueConfig from "./style/preset";
import FocusTrap from "primevue/focustrap";
import Tooltip from "primevue/tooltip";
import '../sass/app.scss';
import "../sass/app.scss";

declare global {
var assets_url: string;
Expand Down
6 changes: 2 additions & 4 deletions resources/js/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,12 @@ const routes_ = [
},
];


if (import.meta.MODE !== 'build' &&
import.meta.env.VITE_LOCAL_DEV === 'true') {
if (import.meta.MODE !== "build" && import.meta.env.VITE_LOCAL_DEV === "true") {

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

Property 'MODE' does not exist on type 'ImportMeta'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

Property 'env' does not exist on type 'ImportMeta'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

Property 'MODE' does not exist on type 'ImportMeta'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.

Check failure on line 127 in resources/js/router/routes.ts

View workflow job for this annotation

GitHub Actions / 2️⃣ JS front-end / Node 20

Property 'env' does not exist on type 'ImportMeta'.
routes_.push({
name: "local-dev",
path: "/vite/index.html",
component: Landing,
});
};
}

export const routes = routes_;

0 comments on commit d416a27

Please sign in to comment.