1.1.3 • Published 4 years ago

webpack-plugin-browser-json v1.1.3

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

A webpack plugin that allows for an additional config file for browser dependencies. The implementation is mostly compatible with the one from Lasso but is missing some features.

This is primarily meant as a stop gap utility for developers incrementally migrating from Lasso to Webpack.

Installation

npm install webpack-plugin-browser-json -D

Example

webpack.config.js

const { BrowserJSONPlugin } = require("webpack-plugin-browser-json");

module.exports = {
  // your webpack config
  ...,
  plugins: [
    new BrowserJSONPlugin({
      flags: ["a", "b"] // Set the lasso flags for this compilation
    })
  ]
}

Code of Conduct

This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago