File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ var dist = "./dist",
1616 config = require ( "./build/config.json" ) ;
1717
1818 // Command line overrides:
19+ if ( util . env [ "ignite-ui" ] ) {
20+ // Optional override for the Ignite UI source location, can be passed as --ignite-ui "http://<ignite-ui root>"
21+ config . patterns [ "%%ignite-ui%%" ] = util . env [ "ignite-ui" ] ;
22+ }
1923 if ( version ) {
2024 config . patterns [ "%%ignite-ui%%" ] = config . patterns [ "%%ignite-ui%%" ] . replace ( "latest" , "20" + version + "/latest" ) ;
2125 } else {
2226 version = "latest" ;
2327 }
24- if ( util . env [ "ignite-ui" ] ) {
25- // Optional override for the Ignite UI source location, can be passed as --ignite-ui "http://<ignite-ui root>"
26- config . patterns [ "%%ignite-ui%%" ] = util . env [ "ignite-ui" ] ;
27- }
2828 if ( util . env [ "live-url" ] ) {
2929 // Optional override for the live demo URL (without trailing slash). Warning: might be case-sensitive
3030 config . liveUrl = util . env [ "live-url" ] . replace ( / \/ $ / , "" ) ;
You can’t perform that action at this time.
0 commit comments