mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix: use relative path to dist
This commit is contained in:
parent
c1b4678998
commit
16c0cc296e
1 changed files with 5 additions and 2 deletions
|
@ -5,8 +5,11 @@ export const PACKAGE_NAME = JSON.parse(
|
|||
).name;
|
||||
|
||||
export const RUNTIME_IMPORT = JSON.stringify(`${PACKAGE_NAME}/runtime`);
|
||||
// Use `dist` path. Not exposed as a public API.
|
||||
export const RUNTIME_CONFIG_IMPORT = JSON.stringify(`${PACKAGE_NAME}/dist/runtime/config.js`);
|
||||
|
||||
// Use `dist` path for config helpers. Not exposed as a public API.
|
||||
const RUNTIME_DIR = new URL('../../dist/runtime/', import.meta.url);
|
||||
|
||||
export const RUNTIME_CONFIG_IMPORT = JSON.stringify(new URL('./config.js', RUNTIME_DIR));
|
||||
|
||||
export const DB_TYPES_FILE = 'db-types.d.ts';
|
||||
|
||||
|
|
Loading…
Reference in a new issue