mm_statics 1.7.9 → 1.8.1

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -223,7 +223,7 @@ Static.prototype._toAmd = async function (file_type, text) {
223
223
  // 处理require模块语句
224
224
  code = this._requireMod(code);
225
225
  // 添加return语句确保AMD模块正确导出
226
- code = this._addAmdReturn(code);
226
+ // code = this._addAmdReturn(code);
227
227
  // 格式化代码
228
228
  return await this._formatCode(code, file_type);
229
229
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_statics",
3
- "version": "1.7.9",
3
+ "version": "1.8.1",
4
4
  "description": "这是超级美眉statics函数模块,用于web服务端statics缓存",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -43,7 +43,7 @@
43
43
  "koa-send": "^5.0.1",
44
44
  "marked": "^18.0.4",
45
45
  "mm_cache": "^1.4.9",
46
- "mm_es6_to_amd": "^1.5.0",
46
+ "mm_es6_to_amd": "^1.5.1",
47
47
  "prettier": "^3.8.3"
48
48
  },
49
49
  "devDependencies": {