Bundler and optimizer for requirejs. Faster alternative to r.js.
# Copy the correct line for your package manager :)
npm install --save-dev fastrjs
pnpm add --save-dev fastrjs
yarn add --dev fastrjs
bun add --save-dev fastrjsThe below command will create a new config file at fastr.config.js with placeholder content. Run the command and inspect the file for more details.
npx fastrjs initThe below command will run fastrjs and generates all the bundles specified in the config file. It will try to load the config file from fastr.config.js, you can also specify a custom path using the --config flag.
npx fastrjs