diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dee1c6b..6cd7882 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,9 +1,9 @@ { - "updateContentCommand": "yarn", - "postAttachCommand": "yarn start", - "customizations": { - "codespaces": { - "openFiles": ["src/app/app.component.ts"] - } + "updateContentCommand": "yarn", + "postAttachCommand": "yarn start", + "customizations": { + "codespaces": { + "openFiles": ["src/app/app.component.ts"] } + } } diff --git a/angular.json b/angular.json index 816796f..8b98c84 100644 --- a/angular.json +++ b/angular.json @@ -13,20 +13,14 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { + "allowedCommonJsDependencies": ["@dhx/trial-suite"], "outputPath": "dist/sandbox", "index": "src/index.html", "main": "src/main.ts", - "polyfills": [ - "zone.js" - ], + "polyfills": ["zone.js"], "tsConfig": "tsconfig.app.json", - "assets": [ - "src/favicon.ico", - "src/assets" - ], - "styles": [ - "src/styles.css" - ], + "assets": ["src/favicon.ico", "src/assets"], + "styles": ["src/styles.css"], "scripts": [] }, "configurations": { @@ -77,18 +71,10 @@ "test": { "builder": "@angular-devkit/build-angular:karma", "options": { - "polyfills": [ - "zone.js", - "zone.js/testing" - ], + "polyfills": ["zone.js", "zone.js/testing"], "tsConfig": "tsconfig.spec.json", - "assets": [ - "src/favicon.ico", - "src/assets" - ], - "styles": [ - "src/styles.css" - ], + "assets": ["src/favicon.ico", "src/assets"], + "styles": ["src/styles.css"], "scripts": [] } } diff --git a/tsconfig.json b/tsconfig.json index 17e7824..1301bf2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,4 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "compileOnSave": false, "compilerOptions": { @@ -20,7 +21,6 @@ "useDefineForClassFields": false, "lib": ["ES2022", "dom"] }, - "include": ["@dhx/trial-spreadsheet"], "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true,