@makano/rew 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -402,7 +402,7 @@ function compileRewStuff(content, options) {
402
402
  straceLog('EXPORT() => TRANSLATING TO pub');
403
403
  }
404
404
 
405
- if (token.type === 'IDENTIFIER' && token.value === 'package' && nextToken.type == 'STRING') {
405
+ if (tokens[i-1]?.value !== '.' && token.type === 'IDENTIFIER' && token.value === 'package' && nextToken.type == 'STRING') {
406
406
  token.value = 'appPackage';
407
407
  straceLog('APP_PACKAGE_CHANGE()');
408
408
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {