Skip to content

Commit

Permalink
默认 lang 类型
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Apr 1, 2017
1 parent 93eb497 commit c398708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wepy-cli/src/compile-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
}
let allPromises = [];
styles.forEach((style) => {
let lang = style.type;
let lang = style.type || 'css';
const content = style.code;
const scoped = style.scoped;

Expand Down

0 comments on commit c398708

Please sign in to comment.