diff --git a/app/svelte/src/server/options.ts b/app/svelte/src/server/options.ts index 70526b6fe4df..64c8aa3cd589 100644 --- a/app/svelte/src/server/options.ts +++ b/app/svelte/src/server/options.ts @@ -1,4 +1,4 @@ -import packageJson from '../../package.json'; +const packageJson = require('../../package.json'); export default { packageJson, diff --git a/app/svelte/src/index.d.ts b/app/svelte/src/typings.d.ts similarity index 100% rename from app/svelte/src/index.d.ts rename to app/svelte/src/typings.d.ts diff --git a/app/svelte/tsconfig.json b/app/svelte/tsconfig.json index ee6bb863e545..9fc120ad0834 100644 --- a/app/svelte/tsconfig.json +++ b/app/svelte/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": ".", + "rootDir": "./src", "types": ["webpack-env"], "resolveJsonModule": true },