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');
1515
1616const babelOptions = '--modules amd' ;
1717
18- const factoriesDestination = path . join ( bowerRoot , 'factories' ) ;
18+ const libDestination = path . join ( bowerRoot , 'lib' ) ;
19+ const factoriesDestination = path . join ( libDestination , 'factories' ) ;
1920
2021function bowerConfig ( ) {
2122 return Promise . all ( [
@@ -36,7 +37,7 @@ export default function BuildBower() {
3637 . then ( ( ) => Promise . all ( [
3738 bowerConfig ( ) ,
3839 generateFactories ( factoriesDestination , babelOptions ) ,
39- exec ( `babel ${ babelOptions } ${ srcRoot } --out-dir ${ bowerRoot } ` ) ,
40+ exec ( `babel ${ babelOptions } ${ srcRoot } --out-dir ${ libDestination } ` ) ,
4041 copy ( readme , bowerRoot ) ,
4142 copy ( license , bowerRoot )
4243 ] ) )
You can’t perform that action at this time.
0 commit comments