Need private packages and team management tools?Check out npm Teams »

aurelia-loader-fusebox

1.2.0 • Public • Published

aurelia-loader-fusebox

Demo here

Install:

npm i -S aurelia-loader-fusebox aurelia-bootstrapper aurelia-framework
npm i -D fuse-box

Usage

import 'aurelia-loader-fusebox';
import 'aurelia-bootstrapper';
 
export function configure(aurelia) {
    // ...
}

FuseBox simple config example

const { FuseBox, RawPlugin, HTMLPlugin, BabelPlugin } = require('fuse-box');
 
let fuse = FuseBox.init({
    homeDir: './src',
    output: './dist/$name.js',
    plugins: [
        RawPlugin(['.css']),
        HTMLPlugin({ useDefault: true }),
        BabelPlugin()
    ]
});
 
fuse.bundle('bundle')
    .instructions(`
        > main.js
        + **/*.{js,html,css}
        + aurelia-bootstrapper
        + aurelia-pal-browser
        + aurelia-framework
        + aurelia-logging-console
        + aurelia-templating-binding
        + aurelia-history-browser
        + aurelia-templating-resources
        + aurelia-templating-router
    `);
 
fuse.run();

Install

npm i aurelia-loader-fusebox

DownloadsWeekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • avatar