mm_statics 1.4.3 → 1.4.5

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 +1 -1
package/index.js CHANGED
@@ -152,7 +152,7 @@ Statics.prototype.run = async function(ctx, next) {
152
152
  */
153
153
  module.exports = function(root, config, es6_to_amd) {
154
154
  var static = new Statics(root, config, es6_to_amd);
155
- if (this.es6_to_amd.files.length > 0) {
155
+ if (es6_to_amd.files.length > 0) {
156
156
  return static.main;
157
157
  } else {
158
158
  return static.run;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_statics",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "这是超级美眉statics函数模块,用于web服务端statics缓存",
5
5
  "main": "index.js",
6
6
  "scripts": {