Skip to content

Commit 4411a68

Browse files
committed
Merge branch 'master' of github.com:mgechev/angular2-seed
* 'master' of github.com:mgechev/angular2-seed: docs: fix typo Add APP_ASSETS to project.config.
2 parents 15b16c2 + 70c9506 commit 4411a68

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

tools/config/project.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@ export class ProjectConfig extends SeedConfig {
1414
super();
1515
// this.APP_TITLE = 'Put name of your app here';
1616

17-
// Add third-party libraries to be injected/bundled.
17+
// Add `NPM` third-party libraries to be injected/bundled.
1818
this.NPM_DEPENDENCIES = [
1919
...this.NPM_DEPENDENCIES,
2020
// {src: 'jquery/dist/jquery.min.js', inject: 'libs'},
2121
// {src: 'lodash/lodash.min.js', inject: 'libs'},
2222
];
2323

24+
// Add `local` third-party libraries to be injected/bundled.
25+
this.APP_ASSETS = [
26+
...this.APP_ASSETS,
27+
// {src: `${this.APP_SRC}/your-path-to-lib/libs/jquery-ui.js`, inject: true, vendor: false}
28+
// {src: `${this.CSS_SRC}/path-to-lib/test-lib.css`, inject: true, vendor: false},
29+
];
30+
2431
/* Add to or override NPM module configurations: */
2532
//this.mergeObject(this.PLUGIN_CONFIGS['browser-sync'], { ghostMode: false });
2633
}

tools/tasks/seed/build.index.dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function mapPath(dep: any) {
5757
}
5858

5959
/**
60-
* Transform the path of a dependecy to its location within the `dist` directory according to the applications
60+
* Transform the path of a dependency to its location within the `dist` directory according to the applications
6161
* environment.
6262
*/
6363
function transformPath() {

0 commit comments

Comments
 (0)