1.1.3 • Published 7 years ago

webpack-root v1.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Webpack Root

const webpackRoot = require('webpack-root')

const root = new webpackRoot( __dirname )

console.log( root ); // example path to project

OR

const root = require('webpack-root')( __dirname )

console.log( root ); // example path to project

Node Modules Path

const node_modules = require('webpack-root')()

console.log( node_modules ); // path to node_modules
1.1.3

7 years ago

1.1.2

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago