Skip to content

Rogue rew files ​

You can run rogue rew files, which are files without an app, basically how you would run a rew file, but the difference is they won't have access to some core utilities. and won't be able to be imported once built to qrew.

Package name for rogue files ​

Since rogue files have no parent app, they also lack a package name, to fix this, you can either use the appPackage function or the package keyword.

coffee
package 'my.package.name'
# or
appPackage 'my.package.name'

Running rogue files ​

bash
rew ./file.rew

Building rogue files ​

You can single build your rogue file to compile it to either a qrew or translate to js.

bash
rew build ./file.rew --single