Skip to content

Commit

Permalink
fix(cli): 忘了去掉注释
Browse files Browse the repository at this point in the history
  • Loading branch information
zcfan committed Jan 9, 2020
1 parent c172b1f commit cd3b8bf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/wxa-cli/src/compilers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ export default class Compiler {
break;
}

// case 'wxs': {
// mdl.ast = rest.ast;
case 'wxs': {
mdl.ast = rest.ast;

// children = children.concat(this.$$parseWXS(mdl));
// break;
// }
children = children.concat(this.$$parseWXS(mdl));
break;
}
}

return children;
Expand Down Expand Up @@ -134,9 +134,9 @@ export default class Compiler {
return new ConfigCompiler().parse(filepath, code);
}

// case 'wxs': {
// return new WxsCompiler().parse(filepath, code);
// }
case 'wxs': {
return new WxsCompiler().parse(filepath, code);
}

case 'png':
case 'jpg':
Expand Down

0 comments on commit cd3b8bf

Please sign in to comment.