diff --git a/assets/tsconfig.json b/assets/tsconfig.json new file mode 100644 index 0000000..ba93097 --- /dev/null +++ b/assets/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "experimentalDecorators": true, + "target": "ES2020", + "module": "ES2020", + "moduleResolution": "node12", + "useDefineForClassFields": false, + "preserveValueImports": true, + "esModuleInterop": true + } +} \ No newline at end of file diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index e43e4f6..4e3f0b9 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@gitzone/tsbundle', - version: '2.0.1', + version: '2.0.2', description: 'a bundler using rollup for painless bundling of web projects' } diff --git a/ts/paths.ts b/ts/paths.ts index 46b6b11..8282aac 100644 --- a/ts/paths.ts +++ b/ts/paths.ts @@ -8,4 +8,4 @@ export const packageDir = plugins.path.join( export const htmlDir = plugins.path.join(cwd, './html'); export const distServeDir = plugins.path.join(cwd, './dist_serve'); export const assetsDir = plugins.path.join(packageDir, 'assets'); -export const tsconfigPath = plugins.path.join(packageDir, './tsconfig.json'); +export const tsconfigPath = plugins.path.join(packageDir, './assets/tsconfig.json'); diff --git a/tsconfig.json b/tsconfig.json index ba93097..1838faa 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,9 @@ { "compilerOptions": { "experimentalDecorators": true, - "target": "ES2020", - "module": "ES2020", - "moduleResolution": "node12", "useDefineForClassFields": false, - "preserveValueImports": true, - "esModuleInterop": true + "target": "ES2022", + "module": "ES2022", + "moduleResolution": "nodenext" } -} \ No newline at end of file +}