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:
parent
cd5e8d4b93
commit
c1b4678998
2 changed files with 2 additions and 8 deletions
|
@ -20,10 +20,6 @@
|
||||||
"types": "./dist/runtime/index.d.ts",
|
"types": "./dist/runtime/index.d.ts",
|
||||||
"import": "./dist/runtime/index.js"
|
"import": "./dist/runtime/index.js"
|
||||||
},
|
},
|
||||||
"./runtime/config": {
|
|
||||||
"types": "./dist/runtime/config.d.ts",
|
|
||||||
"import": "./dist/runtime/config.js"
|
|
||||||
},
|
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"typesVersions": {
|
"typesVersions": {
|
||||||
|
@ -36,9 +32,6 @@
|
||||||
],
|
],
|
||||||
"runtime": [
|
"runtime": [
|
||||||
"./dist/runtime/index.d.ts"
|
"./dist/runtime/index.d.ts"
|
||||||
],
|
|
||||||
"runtime/config": [
|
|
||||||
"./dist/runtime/config.d.ts"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,8 @@ export const PACKAGE_NAME = JSON.parse(
|
||||||
).name;
|
).name;
|
||||||
|
|
||||||
export const RUNTIME_IMPORT = JSON.stringify(`${PACKAGE_NAME}/runtime`);
|
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';
|
export const DB_TYPES_FILE = 'db-types.d.ts';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue