0.1.3 • Published 6 years ago

jsconfig-paths-webpack-plugin v0.1.3

Weekly downloads
155
License
MIT
Repository
-
Last release
6 years ago

tsconfig-paths-webpack-plugin

Use this to load modules whose location is specified in the paths section of jsconfig.json when using webpack.

How to install

yarn add --dev jsconfig-paths-webpack-plugin

or

npm install --save-dev jsconfig-paths-webpack-plugin

How to use

In your webpack config add this:

var JsConfigPathsPlugin = require('jsconfig-paths-webpack-plugin');

resolve: {
    plugins: [
        new JsconfigPathsPlugin(/* { configFileName: "path/to/jsconfig.json" } */)
    ]
}

Options

configFile (string) (default='jsconfig.json')

Allows you to specify where to find the configuration file.

How to test

To run the provided tests:

yarn test
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago