Socket
Socket
Sign inDemoInstall

@berun/fluent-fuse-box

Package Overview
Dependencies
3
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @berun/fluent-fuse-box

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


Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
1
Install size
160 kB
Created
Weekly downloads
 

Readme

Source

@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')

Keywords

FAQs

Last updated on 28 Jan 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc