@@ -32,7 +32,7 @@ module.exports = function (grunt) {
3232 build : {
3333 files : {
3434 '<%= builddir %>/ui-router-ng2.min.js' : [ '<banner:meta.banner>' , '<%= builddir %>/ui-router-ng2.js' ] ,
35- '<%= builddir %>/<%= pkg.name %>. min.js' : [ '<banner:meta.banner>' , '<%= builddir %>/<%= pkg.name %> .js' ] ,
35+ '<%= builddir %>/angular-ui-router. min.js' : [ '<banner:meta.banner>' , '<%= builddir %>/angular-ui-router .js' ] ,
3636 '<%= builddir %>/ng1/stateEvents.min.js' : [ '<banner:meta.banner>' , '<%= builddir %>/ng1/stateEvents.js' ]
3737 }
3838 }
@@ -42,21 +42,13 @@ module.exports = function (grunt) {
4242 entry : files . ng1CommonJsEntrypoint ,
4343 output : {
4444 path : '<%= builddir %>' ,
45- filename : '<%= pkg.name %> .js' ,
45+ filename : 'angular-ui-router .js' ,
4646 library : 'ui.router' ,
4747 libraryTarget : 'umd'
4848 } ,
49- module : {
50- loaders : [ ]
51- } ,
49+ module : { loaders : [ ] } ,
5250 externals : [
53- {
54- angular : {
55- root : 'angular' ,
56- commonjs2 : 'angular' ,
57- commonjs : 'angular'
58- }
59- }
51+ { angular : { root : 'angular' , commonjs2 : 'angular' , commonjs : 'angular' } }
6052 ]
6153 } ,
6254 ng2 : {
@@ -67,9 +59,7 @@ module.exports = function (grunt) {
6759 library : 'uiRouter' ,
6860 libraryTarget : 'umd'
6961 } ,
70- module : {
71- loaders : [ ]
72- } ,
62+ module : { loaders : [ ] } ,
7363 externals : [ {
7464 'angular2/core' : { root : [ 'ng' , 'core' ] , commonjs : 'angular2/core' , commonjs2 : 'angular2/core' , amd : 'angular2/core' } ,
7565 'angular2/common' : { root : [ 'ng' , 'common' ] , commonjs : 'angular2/common' , commonjs2 : 'angular2/common' , amd : 'angular2/common' }
0 commit comments