mm_statics 1.7.7 → 1.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -273,8 +273,8 @@ Static.prototype._addAmdReturn = function (code) {
|
|
|
273
273
|
return code;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
//
|
|
277
|
-
if (code.includes('
|
|
276
|
+
// 检查是否已经是简洁格式(没有 _exports["default"])
|
|
277
|
+
if (!code.includes('_exports["default"]')) {
|
|
278
278
|
return code;
|
|
279
279
|
}
|
|
280
280
|
|