Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 2 KB

README.md

File metadata and controls

62 lines (46 loc) · 2 KB

module-structure-lang-js

npm Version Build Status Coverage Status

JavaScript language provider for module-structure.

See module-structure for full documentation.

Installation

This extension is optional and not bundled with module-structure, therefore requires separate installation. Local and global installation is supported.

After installation of this extension, it is automatically detected by module-structure and used for analyzing JavaScript dependencies.

Example:

$ npm i -g module-structure
$ npm i -g module-structure-lang-js

Config

To set custom settings, create a .module-structure.js in your root folder, like .eslintrc.js or babel.config.js. Add the config parameter under the key "module-structure-lang-js"

Example:


module.exports = {
 'module-structure-lang-js': {
   webpackConfig: "path/to/your/project/webpack/config.js"
 }
};

Config parameter:

webpackConfig Use the webpack config to resolve webpack aliases.

Credits

dependency-tree homepage  -  show license

License

MIT