You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/loader.js
+5
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,11 @@ module.exports = function (content) {
51
51
// 针对 entry 的 main.js 处理 page 和 app 的入口文件和配置等
52
52
constmpOptions=loaderUtils.getOptions(this)||{}
53
53
54
+
if(!mpOptions.fileExt){
55
+
thrownewError(
56
+
'[mpvue-loader] need "fileExt" option in file "build/vue-loader.conf.js",init a new project and copy the directory "build/" to this porject, or just check the "fileExt" option'
0 commit comments