Importing a module from upper directory (depth of the upper directory doesn't matter) causes "unable to resolve" error.
Example: import * as test from '../test.js'
How to reproduce
mkdir frida_compile_test
mkdir frida_compile_test/subdir
echo "" > frida_compile_test/test.js
echo "import * as test from '../test.js'" > frida_compile_test/subdir/test2.js
frida-compile frida_compile_test/subdir/test2.js -o bundle.js
On my machine outputs:
unable to resolve: $(pwd)/frida_compile_test/test.js
Hello.
Importing a module from upper directory (depth of the upper directory doesn't matter) causes "unable to resolve" error. Example:
import * as test from '../test.js'
How to reproduce
On my machine outputs:
unable to resolve: $(pwd)/frida_compile_test/test.js