Skip to content

Commit

Permalink
fix(cli2): disable babel compiler to compiler wxs file
Browse files Browse the repository at this point in the history
BREAKING CHANGE: babel compiler never compile wxs file, don't use es* in it.
  • Loading branch information
Genuifx committed Feb 25, 2020
1 parent 8d3af86 commit 57d66a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wxa-cli/src/const/defaultWxaConfigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class DefaultWxaConfigs {
},
use: [
{
test: /\.js$|\.wxs$/,
test: /\.js$/,
name: 'babel',
},
{
Expand Down

0 comments on commit 57d66a5

Please sign in to comment.