Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
7208274156 | |||
41ec42d068 | |||
d159b9a6a8 | |||
45d0d74559 |
11
assets/tsconfig.json
Normal file
11
assets/tsconfig.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"experimentalDecorators": true,
|
||||
"target": "ES2020",
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "node12",
|
||||
"useDefineForClassFields": false,
|
||||
"preserveValueImports": true,
|
||||
"esModuleInterop": true
|
||||
}
|
||||
}
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@gitzone/tsbundle",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@gitzone/tsbundle",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pushrocks/early": "^3.0.6",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsbundle",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.2",
|
||||
"private": false,
|
||||
"description": "a bundler using rollup for painless bundling of web projects",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@gitzone/tsbundle',
|
||||
version: '2.0.0',
|
||||
version: '2.0.2',
|
||||
description: 'a bundler using rollup for painless bundling of web projects'
|
||||
}
|
||||
|
@ -48,7 +48,8 @@ export class TsBundleProcess {
|
||||
format: 'esm',
|
||||
target: 'es2020',
|
||||
minify: true,
|
||||
outfile: toArg
|
||||
outfile: toArg,
|
||||
tsconfig: paths.tsconfigPath
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -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');
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user