When compiling imports should behave by this system:
compile file: all imports are relative to initial file
compile directory: all imports are relative to initial directory
build project: all imports are relative to src/
The resulting require statements should also use . to separate path elements instead of / and should not contain a ./ prefix
When compiling imports should behave by this system:
The resulting require statements should also use
.
to separate path elements instead of/
and should not contain a./
prefixContents:
Building project:
~/project$ wu build
Expected contents:Building directory:
~/project$ wu src/lib
Expected contents:Building file:
~/project$ wu src/lib/init.wu
Expected contents: