Skip to content

Latest commit

History

History
33 lines (23 loc) 路 964 Bytes

File metadata and controls

33 lines (23 loc) 路 964 Bytes

fastrjs

Bundler and optimizer for requirejs. Faster alternative to r.js.

NPM Version NPM Downloads

Installation

# 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 fastrjs

Configuration

The 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 init

Usage

The 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