0.3.1 • Published 10 years ago

gobble-requirejs v0.3.1

Weekly downloads
8
License
MIT
Repository
github
Last release
10 years ago

gobble-requirejs

Optimise AMD modules with gobble and RequireJS.

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-requirejs

Usage

gobblefile.js

var gobble = require( 'gobble' );
module.exports = gobble( 'src' ).transform( 'requirejs', {
  name: 'app',
  out: 'app.js'
});

The second argument is passed straight through to the RequireJS Optimizer, except that the baseUrl and out options are modified to point to the temporary folders managed by gobble.

License

MIT. Copyright 2014 Rich Harris

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago