You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2017. It is now read-only.
Consider the following file structure of an app with 3 files:
App.js (includes foo/Foo.js)
foo/Foo.js (includes bar/Bar.js)
bar/Bar.js
The root path is located where App.js is stored. I would like to construct a merge command so Juicer knows where the root path is and so I can write the include statement in Foo.js so it is relative to the root path (i.e. "depend bar/Bar.js") . I don't wish to write the import statement so it is relative to Foo.js (i.e. "depend ../bar/Bar.js")
I would like to be relative to the root, because other programming languages construct their import statements like this. Plus, it is much easier to copy and paste an import statement from another JS file (in possibly a different folder) w/o then having to figure out the relative path to the imported file.
Is this possible with the current version of Juicer?