File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11import { join } from 'path' ;
22
33import { SeedConfig } from './seed.config' ;
4- import { InjectableDependency } from './seed.config.interfaces' ;
54
65/**
76 * This class extends the basic seed configuration, allowing for project specific overrides. A few examples can be found
@@ -14,17 +13,16 @@ export class ProjectConfig extends SeedConfig {
1413 constructor ( ) {
1514 super ( ) ;
1615 // this.APP_TITLE = 'Put name of your app here';
17- let additional_deps : InjectableDependency [ ] = [
16+
17+ // Add third-party libraries to be injected/bundled.
18+ this . NPM_DEPENDENCIES = [
19+ ...this . NPM_DEPENDENCIES ,
1820 // {src: 'jquery/dist/jquery.min.js', inject: 'libs'},
1921 // {src: 'lodash/lodash.min.js', inject: 'libs'},
2022 ] ;
2123
22- const seedDependencies = this . NPM_DEPENDENCIES ;
23-
24- this . NPM_DEPENDENCIES = seedDependencies . concat ( additional_deps ) ;
25-
2624 /* Add to or override NPM module configurations: */
27- //this.mergeObject( this.PLUGIN_CONFIGS['browser-sync'], { ghostMode: false } );
28-
25+ //this.mergeObject(this.PLUGIN_CONFIGS['browser-sync'], { ghostMode: false });
2926 }
27+
3028}
You can’t perform that action at this time.
0 commit comments