fix frontend-shared not publishing to the correct path

This commit is contained in:
Hazelnoot 2025-11-06 00:34:26 -05:00
parent 537765e330
commit 9e33e75fc2
2 changed files with 3 additions and 1 deletions

View file

@ -16,11 +16,12 @@ const entryPoints = globSync('./js/**/**.{ts,tsx}');
const options = {
entryPoints,
minify: process.env.NODE_ENV === 'production',
outdir: './js-built',
outdir: './js-built/js',
target: 'es2022',
platform: 'browser',
format: 'esm',
sourcemap: 'linked',
tsconfig: 'tsconfig.web.json',
};
const args = process.argv.slice(2).map(arg => arg.toLowerCase());

View file

@ -10,6 +10,7 @@
"inlineSources": true,
"removeComments": false,
"outDir": "./js-built/",
"rootDir": ".",
"strictFunctionTypes": true,
"paths": {
"@/*": ["./*"],