@berun/fluent-fuse-box
    TypeScript icon, indicating that this package has built-in type declarations

    7.0.3 • Public • Published

    @berun/fluent-fuse-box

    Use a chaining API to generate and simplify the modification of Fuse-Box configurations.

    _Note: This is is part of the broader @berun/fluent suite of configurations, but may be used standalone.

    Example

    berun.fusebox
      .homeDir('/Volumes/data/mypath')
      .sourceMaps({ project: true, vendor: false })
      .hash(true)
      .cache(true)
      .output(path.join('targetDir', '$name.js'))
      .target('browser@es2015')
      .plugin('Env')
      .use(EnvPlugin, ['development'])
      .end()
      .plugin('SVG')
      .use(SVGPlugin)
      .end()
      .plugin('CSS')
      .use(CSSPlugin)
      .end()
      .plugin('JSON')
      .use(JSONPlugin)
      .end()
      .plugin('WebIndex')
      .use(WebIndexPlugin, [
        {
          template: '/Volumes/data/src/index.html',
          path: '/'
        }
      ])
      .end()
      .plugin('Babel')
      .use(BabelPlugin)
      .end()
      .when(ISPRODUCTION, fusebox =>
        fusebox
          .plugin('Quantum')
          .use(Quantum, [{ removeExportsInterop: false, uglify: true }])
      )
    
    berun.fusebox.plugins.delete('CSS')

    Install

    npm i @berun/fluent-fuse-box

    DownloadsWeekly Downloads

    179

    Version

    7.0.3

    License

    MPL-2.0

    Unpacked Size

    25.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • guycreate