Skip to content

Commit ab910c3

Browse files
chintankavathiaspike-rabbit
authored andcommitted
build: switch to esbuild
1 parent 49b3cda commit ab910c3

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

angular.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,23 @@
1818
"prefix": "app",
1919
"architect": {
2020
"build": {
21-
"builder": "@angular-devkit/build-angular:browser",
21+
"builder": "@angular-devkit/build-angular:application",
2222
"options": {
23-
"outputPath": "dist/ngx-datatable",
23+
"outputPath": {
24+
"base": "dist/ngx-datatable",
25+
"browser": ""
26+
},
2427
"index": "src/index.html",
25-
"main": "src/main.ts",
26-
"polyfills": "src/polyfills.ts",
28+
"polyfills": ["src/polyfills.ts"],
2729
"tsConfig": "tsconfig.app.json",
2830
"assets": ["src/favicon.ico", "src/assets"],
2931
"styles": ["src/styles.scss"],
3032
"scripts": [],
31-
"vendorChunk": true,
3233
"extractLicenses": false,
33-
"buildOptimizer": false,
3434
"sourceMap": true,
3535
"optimization": false,
36-
"namedChunks": true
36+
"namedChunks": true,
37+
"browser": "src/main.ts"
3738
},
3839
"configurations": {
3940
"production": {
@@ -48,8 +49,6 @@
4849
"sourceMap": false,
4950
"namedChunks": false,
5051
"extractLicenses": true,
51-
"vendorChunk": false,
52-
"buildOptimizer": true,
5352
"budgets": [
5453
{
5554
"type": "initial",

tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"outDir": "./dist/out-tsc",
66
"sourceMap": true,
77
"declaration": false,
8-
"downlevelIteration": true,
98
"experimentalDecorators": true,
109
"module": "es2022",
1110
"moduleResolution": "node",
@@ -16,7 +15,6 @@
1615
"resolveJsonModule": true,
1716
"esModuleInterop": true,
1817
"noUnusedLocals": true,
19-
"allowSyntheticDefaultImports": true,
2018
"paths": {
2119
"@siemens/ngx-datatable": ["dist/ngx-datatable"],
2220
"@siemens/ngx-datatable/*": ["dist/ngx-datatable/*"]

0 commit comments

Comments
 (0)