tsconfig-paths-webpack-plugin
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -10,2 +10,8 @@ # Change Log | ||
## [3.1.1] - 2018-05-14 | ||
### Fixed | ||
* Add named typescript export. | ||
## [3.1.0] - 2018-05-14 | ||
@@ -129,3 +135,5 @@ | ||
[unreleased]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.0.4...master | ||
[unreleased]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.1...master | ||
[3.1.1]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.0...3.1.1 | ||
[3.1.0]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.0.4...3.1.0 | ||
[3.0.4]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.0.4...3.0.4 | ||
@@ -132,0 +140,0 @@ [3.0.3]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.0.2...3.0.3 |
@@ -0,2 +1,3 @@ | ||
export { TsconfigPathsPlugin } from "./plugin"; | ||
import { TsconfigPathsPlugin } from "./plugin"; | ||
export default TsconfigPathsPlugin; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const plugin_1 = require("./plugin"); | ||
var plugin_1 = require("./plugin"); | ||
exports.TsconfigPathsPlugin = plugin_1.TsconfigPathsPlugin; | ||
const plugin_2 = require("./plugin"); | ||
// tslint:disable-next-line:no-default-export | ||
exports.default = plugin_1.TsconfigPathsPlugin; | ||
exports.default = plugin_2.TsconfigPathsPlugin; | ||
const plugin = require("./plugin"); | ||
module.exports = plugin.TsconfigPathsPlugin; |
{ | ||
"name": "tsconfig-paths-webpack-plugin", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Load modules according to tsconfig paths in webpack.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -44,2 +44,16 @@ # tsconfig-paths-webpack-plugin | ||
## Typescript support | ||
This package has typescript typings included. If your webpack config is using typescript, you can use this syntax to import the default export: | ||
```ts | ||
import TsconfigPathsPluginDefault from "tsconfig-paths-webpack-plugin"; | ||
``` | ||
Or you can use this syntax to import the named export: | ||
```ts | ||
import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin"; | ||
``` | ||
## Options | ||
@@ -110,1 +124,5 @@ | ||
[license-url]: https://opensource.org/licenses/MIT | ||
``` | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205029
468
127