prod injection fix
parent
5e46d78898
commit
e70ac6a510
|
@ -48,7 +48,7 @@
|
|||
"start": "npm run build && concurrently \"npm:*:watch\" \"npm:browsersync\"",
|
||||
|
||||
"build": "concurrently \"npm:build:js:vendor\" \"npm:build:js:app\" \"npm:build:scss\"",
|
||||
"build:prod": "concurrently \"npm:build:js:vendor:prod\" \"npm:build:js:app\" \"npm:build:scss:prod\" && npm run autoprefixer",
|
||||
"build:prod": "concurrently \"npm:build:js:vendor:prod\" \"npm:build:js:app:prod\" \"npm:build:scss:prod\" && npm run autoprefixer",
|
||||
|
||||
"build:js:highlight": "node node_modules/highlight.js/tools/build.js -n bash nginx -t browser --no-compress",
|
||||
"build:js:vendor": "npm run build:js:highlight && node build/script.js vendor public/assets/js/vendor.min.js",
|
||||
|
|
|
@ -5,10 +5,19 @@
|
|||
|
||||
angular
|
||||
.module('NginxConfigIoApp', ['ngclipboard', '720kb.tooltips'])
|
||||
.config(appConfig)
|
||||
.config(tooltipsConfig)
|
||||
.config([
|
||||
'$locationProvider',
|
||||
appConfig,
|
||||
])
|
||||
.config([
|
||||
'tooltipsConfProvider',
|
||||
tooltipsConfig,
|
||||
])
|
||||
.directive('ngIncludeTabs', ngIncludeTabs)
|
||||
.controller('NginxConfigIoController', NginxConfigIoController);
|
||||
.controller('NginxConfigIoController', [
|
||||
'$scope', '$window', '$location', '$timeout',
|
||||
NginxConfigIoController,
|
||||
]);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue