@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
|
}
|