Require RapydScript code in your browserify-built webapp!
Include rapydscriptify
in your browserify-using package:
npm install rapydscriptify --save-dev
Change your build to use the rapydscriptify transform:
browserify -t rapydscriptify start.js -o coolbuild.js
All files with the extension .pyj
or .py
will be interpreted as RapydScript files.
This script is modified from lispyscriptify which, naturally, is the Lispyscript transform for Browserify.