npm dependency-cruiser 4.1.0-beta-1

latest releases: 16.3.3, 16.3.2, 16.3.1...
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.