Skip to content

Commit

Permalink
resource inlining added to angular compiler options
Browse files Browse the repository at this point in the history
  • Loading branch information
udos86 committed Apr 23, 2018
1 parent d246f71 commit 24f8447
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 15 deletions.
6 changes: 0 additions & 6 deletions gulpfile.js
Expand Up @@ -6,7 +6,6 @@ const TASK_BUNDLE = require("./build/gulp/bundle"),
TASK_CLEAN = require("./build/gulp/clean"),
TASK_COPY = require("./build/gulp/copy"),
TASK_NGC = require("./build/gulp/ngc"),
TASK_INLINE_NG_TEMPLATES = require("./build/gulp/inline-ng-templates"),
TASK_PREPROCESS = require("./build/gulp/preprocess"),
TASK_TRANSPILE = require("./build/gulp/transpile"),
TASK_TSLINT = require("./build/gulp/tslint"),
Expand Down Expand Up @@ -47,7 +46,6 @@ PACKAGES_NAMES.forEach(packageName => {
TASK_NAME_CLEAN = `clean:${packageName}`,
TASK_NAME_STAGE_ES5 = `stage-es5:${packageName}`,
TASK_NAME_STAGE_ES2015 = `stage-es2015:${packageName}`,
TASK_NAME_INLINE_NG_TEMPLATES = `inline-ng-templates:${packageName}`,
TASK_NAME_COMPILE_ES5 = `compile-es5:${packageName}`,
TASK_NAME_COMPILE_ES2015 = `compile-es2015:${packageName}`,
TASK_NAME_PREPROCESS = `preprocess:${packageName}`,
Expand All @@ -70,9 +68,6 @@ PACKAGES_NAMES.forEach(packageName => {
gulp.task(TASK_NAME_STAGE_ES2015,
TASK_COPY([`${PACKAGE_SRC_PATH}/**/*`], PACKAGE_TMP_ES2015_PATH));

gulp.task(TASK_NAME_INLINE_NG_TEMPLATES,
TASK_INLINE_NG_TEMPLATES([`${PACKAGE_TMP_ES5_PATH}/**/*.ts`, `${PACKAGE_TMP_ES2015_PATH}/**/*.ts`]));

gulp.task(TASK_NAME_COMPILE_ES5,
TASK_NGC(`${PACKAGE_TMP_ES5_PATH}/tsconfig.fesm5.json`));

Expand Down Expand Up @@ -117,7 +112,6 @@ PACKAGES_NAMES.forEach(packageName => {
TASK_NAME_CLEAN,
TASK_NAME_STAGE_ES5,
TASK_NAME_STAGE_ES2015,
TASK_NAME_INLINE_NG_TEMPLATES,
TASK_NAME_COMPILE_ES5,
TASK_NAME_COMPILE_ES2015,
TASK_NAME_PREPROCESS,
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -82,7 +82,7 @@
"@types/hammerjs": "^2.0.35",
"@types/jasmine": "^2.8.6",
"@types/node": "^9.6.6",
"angular-router-loader": "^0.8.3",
"angular-router-loader": "^0.8.4",
"angular2-template-loader": "^0.6.2",
"codelyzer": "^4.3.0",
"dateformat": "^3.0.3",
Expand Down Expand Up @@ -114,7 +114,7 @@
"merge-stream": "^1.0.1",
"protractor": "^5.3.1",
"raw-loader": "^0.5.1",
"rollup": "^0.58.1",
"rollup": "^0.58.2",
"rollup-plugin-alias": "^1.4.0",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-basic/package.json
Expand Up @@ -22,7 +22,7 @@
"url": "https://github.com/udos86/ng-dynamic-forms"
},
"main": "./bundles/ui-basic.umd.js",
"module": "./fes5/ui-basic.js",
"module": "./fesm5/ui-basic.js",
"typings": "./ui-basic.d.ts",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/ui-basic/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-basic",
"flatModuleOutFile": "ui-basic.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-basic/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-basic",
"flatModuleOutFile": "ui-basic.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-foundation/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-foundation",
"flatModuleOutFile": "ui-foundation.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-foundation/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-foundation",
"flatModuleOutFile": "ui-foundation.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-ionic/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-ionic",
"flatModuleOutFile": "ui-ionic.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-ionic/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-ionic",
"flatModuleOutFile": "ui-ionic.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-kendo/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-kendo",
"flatModuleOutFile": "ui-kendo.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-kendo/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-kendo",
"flatModuleOutFile": "ui-kendo.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-material/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-material",
"flatModuleOutFile": "ui-material.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-material/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-material",
"flatModuleOutFile": "ui-material.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-ng-bootstrap/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-ng-bootstrap",
"flatModuleOutFile": "ui-ng-bootstrap.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-ng-bootstrap/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-ng-bootstrap",
"flatModuleOutFile": "ui-ng-bootstrap.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-primeng/tsconfig.fesm2015.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-primeng",
"flatModuleOutFile": "ui-primeng.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-primeng/tsconfig.fesm5.json
Expand Up @@ -9,6 +9,7 @@
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"enableResourceInlining": true,
"flatModuleId": "@ng-dynamic-forms/ui-primeng",
"flatModuleOutFile": "ui-primeng.js",
"skipTemplateCodegen": true,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Expand Up @@ -15,6 +15,7 @@
],
"module": "es2015",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noUnusedParameters": true,
"removeComments": false,
Expand Down

0 comments on commit 24f8447

Please sign in to comment.