fix frontend-shared not publishing to the correct path
This commit is contained in:
parent
537765e330
commit
9e33e75fc2
2 changed files with 3 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"inlineSources": true,
|
||||
"removeComments": false,
|
||||
"outDir": "./js-built/",
|
||||
"rootDir": ".",
|
||||
"strictFunctionTypes": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue