File tree 1 file changed +21
-8
lines changed
1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,19 @@ module.exports = function (app) {
56
56
output : [ {
57
57
file : 'es6/backburner.js' ,
58
58
format : 'es' ,
59
- sourcemap : true
60
- } , {
59
+ sourcemap : true ,
60
+ exports : 'named'
61
+ } ] ,
62
+ plugins : [
63
+ loadWithInlineMap ( )
64
+ ]
65
+ }
66
+ } ) ;
67
+
68
+ const amdNamed = new Rollup ( compiled , {
69
+ rollup : {
70
+ input : 'lib/index.js' ,
71
+ output : [ {
61
72
file : 'named-amd/backburner.js' ,
62
73
exports : 'named' ,
63
74
format : 'amd' ,
@@ -81,22 +92,24 @@ module.exports = function (app) {
81
92
rollup : {
82
93
input : 'tests/index.js' ,
83
94
external : [ 'backburner' ] ,
84
- plugins : [
85
- loadWithInlineMap ( ) ,
86
- buble ( )
87
- ] ,
88
95
output : [ {
89
96
file : 'named-amd/tests.js' ,
90
97
format : 'amd' ,
91
98
amd : { id : 'backburner-tests' } ,
92
- sourcemap : true
93
- } ]
99
+ sourcemap : true ,
100
+ exports : 'named'
101
+ } ] ,
102
+ plugins : [
103
+ loadWithInlineMap ( ) ,
104
+ buble ( )
105
+ ]
94
106
}
95
107
} ) ;
96
108
97
109
return new MergeTrees ( [
98
110
backburner ,
99
111
compiledDeclarations ,
112
+ amdNamed ,
100
113
amdTests ,
101
114
qunit ,
102
115
loader ,
You can’t perform that action at this time.
0 commit comments