@makano/rew 1.2.98 → 1.2.99

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,7 +71,7 @@ module.exports.imp = function (runPath, context) {
71
71
  const foundCache = cachedFiles.find((f) => f.filepath == type+':'+filepath);
72
72
 
73
73
  if (!ispkg && foundCache) {
74
- exports = options.useDefaultForPackages === false ? foundCache.exports.default || foundCache.exports : _returns(options, foundCache.exports);
74
+ exports = type === 'coffee' || type === REW_FILE_TYPE.EXTENSION ? foundCache.exports : options.useDefaultForPackages === false ? foundCache.exports.default || foundCache.exports : _returns(options, foundCache.exports);
75
75
  }
76
76
 
77
77
  if (!ispkg && !existsSync(filepath) && !foundCache) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.2.98",
3
+ "version": "1.2.99",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {