File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ const license = path.join(repoRoot, 'LICENSE');
15
15
16
16
const babelOptions = '--modules amd' ;
17
17
18
- const factoriesDestination = path . join ( bowerRoot , 'factories' ) ;
18
+ const libDestination = path . join ( bowerRoot , 'lib' ) ;
19
+ const factoriesDestination = path . join ( libDestination , 'factories' ) ;
19
20
20
21
function bowerConfig ( ) {
21
22
return Promise . all ( [
@@ -36,7 +37,7 @@ export default function BuildBower() {
36
37
. then ( ( ) => Promise . all ( [
37
38
bowerConfig ( ) ,
38
39
generateFactories ( factoriesDestination , babelOptions ) ,
39
- exec ( `babel ${ babelOptions } ${ srcRoot } --out-dir ${ bowerRoot } ` ) ,
40
+ exec ( `babel ${ babelOptions } ${ srcRoot } --out-dir ${ libDestination } ` ) ,
40
41
copy ( readme , bowerRoot ) ,
41
42
copy ( license , bowerRoot )
42
43
] ) )
You can’t perform that action at this time.
0 commit comments