mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-11 09:11:50 +00:00
Use @ exclusively for root imports
Remove "root" resolve alias and now-redundant jsx-runtime alias.
This commit is contained in:
parent
78b9ab49f1
commit
3a20244e38
@ -87,8 +87,7 @@ export default {
|
||||
fallback: { fs: false },
|
||||
alias: {
|
||||
"global-compression": resolve("../src/js/core/lzstring.js"),
|
||||
"root": resolve("../src/js/"),
|
||||
"@/jsx-runtime": resolve("../src/js/jsx-runtime.ts"),
|
||||
"@": resolve("../src/js/"),
|
||||
},
|
||||
fullySpecified: false,
|
||||
extensions: [".ts", ".js", ".tsx", ".jsx"],
|
||||
|
||||
@ -96,8 +96,7 @@ export default {
|
||||
fallback: { fs: false },
|
||||
alias: {
|
||||
"global-compression": resolve("../src/js/core/lzstring.js"),
|
||||
"root": resolve("../src/js/"),
|
||||
"@/jsx-runtime": resolve("../src/js/jsx-runtime.ts"),
|
||||
"@": resolve("../src/js/"),
|
||||
},
|
||||
fullySpecified: false,
|
||||
extensions: [".ts", ".js", ".tsx", ".jsx"],
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
import { Application } from "../application";
|
||||
/* typehints:end */
|
||||
|
||||
import { DialogWithForm } from "root/core/modal_dialog_elements";
|
||||
import { FormElementInput } from "root/core/modal_dialog_forms";
|
||||
import { createLogger } from "../core/logging";
|
||||
import { compressX64 } from "../core/lzstring";
|
||||
import { DialogWithForm } from "../core/modal_dialog_elements";
|
||||
import { FormElementInput } from "../core/modal_dialog_forms";
|
||||
import { timeoutPromise } from "../core/utils";
|
||||
import { T } from "../translations";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user