Socket
Book a DemoInstallSign in
Socket

fly-imba

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-imba

Compile Imba files with Fly.

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

fly

FAQs

Package last updated on 31 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts