2.1.0 • Published 7 years ago

fly-imba v2.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

fly-imba

Compile Imba files with Fly.

Install

npm install --save-dev fly-imba

Usage

exports.default = function * (fly) {
  yield fly.source('app/**/*.imba')
    .imba({
      bare: true,
      sourceMap: true
    })
    .target('dist/js');
}

API

.imba(options)

options.bare

Type: boolean Default: false

Compile without a top-level function wrapper.

options.sourceMap

Type: boolean Default: false

Generate a source map per file. External source maps will be created unless sourceMapInline is specified.

\src
  |- app.imba
\dist
  |- app.js
  |- app.js.map

options.sourceMapInline

Type: boolean Default: false

Embed the file's source mapping as a base64 string. You must set sourceMap to true in order for this setting to work.

License

MIT © Luke Edwards

2.1.0

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.9.0

8 years ago

0.0.0

8 years ago