Skip to content

Commit b37e161

Browse files
committed
feat: 兼容 App.vue 和 app.vue
1 parent 63bb35a commit b37e161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mars-build/src/gulp-mars-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function compile(file, opt, compilers) {
4848
}
4949
catch (e) {}
5050

51-
const isApp = path.basename(fPath) === 'app';
51+
const isApp = path.basename(fPath).toLowerCase() === 'app';
5252
const options = Object.assign({
5353
isApp,
5454
coreRelativePath,

0 commit comments

Comments
 (0)