0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

chore: remove runtime/config from package json

This commit is contained in:
bholmesdev 2024-03-11 14:06:03 -04:00
parent cd5e8d4b93
commit c1b4678998
2 changed files with 2 additions and 8 deletions

View file

@ -20,10 +20,6 @@
"types": "./dist/runtime/index.d.ts",
"import": "./dist/runtime/index.js"
},
"./runtime/config": {
"types": "./dist/runtime/config.d.ts",
"import": "./dist/runtime/config.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
@ -36,9 +32,6 @@
],
"runtime": [
"./dist/runtime/index.d.ts"
],
"runtime/config": [
"./dist/runtime/config.d.ts"
]
}
},

View file

@ -5,7 +5,8 @@ export const PACKAGE_NAME = JSON.parse(
).name;
export const RUNTIME_IMPORT = JSON.stringify(`${PACKAGE_NAME}/runtime`);
export const RUNTIME_CONFIG_IMPORT = JSON.stringify(`${PACKAGE_NAME}/runtime/config`);
// Use `dist` path. Not exposed as a public API.
export const RUNTIME_CONFIG_IMPORT = JSON.stringify(`${PACKAGE_NAME}/dist/runtime/config.js`);
export const DB_TYPES_FILE = 'db-types.d.ts';