npm dependency-cruiser 4.1.0-beta-1

latest releases: 16.6.0, 16.6.0-beta-1, 16.5.0...
6 years ago
  • 🐥 adds support for webpack configs that return a function instead of an object literal. In order to accomplish that the dependency-cruiser.json format grew a webpackConfig key in the options section that allows for specifying (1) the config file name (2) any environment parameters (3) any other (webpack) command line arguments that might be of interest (all optional). E.g.
...
  "options":  {
    "webpackConfig": "webpack.config.js",
    "env": { "production": true },
    "arguments": { "mode": "production" }
  }
...

or

...
  "options":  {
    "webpackConfig": "webpack.config.js",
    "env": "production",
    "arguments": { "mode": "production" }
  }
...

Don't miss a new dependency-cruiser release

NewReleases is sending notifications on new releases.