0.1.3 • Published 8 years ago
jsconfig-paths-webpack-plugin v0.1.3
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-pluginor
npm install --save-dev jsconfig-paths-webpack-pluginHow 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