Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Enable building the application with the ESM build system #1203

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:browser-esbuild",
"options": {
"sourceMap": true,
"allowedCommonJsDependencies": ["moment", "path-normalize"],
Expand Down Expand Up @@ -211,7 +211,7 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:browser-esbuild",
"options": {
"outputPath": "dist/scenes",
"index": "scenes/src/index.html",
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/normalize-path.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as normalize from 'path-normalize';
import normalize from 'path-normalize';

/**
* Normalizes the given path by:
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
Expand Down