tsconfig-paths-webpack-plugin
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -10,2 +10,8 @@ # Change Log | ||
## [3.1.3] - 2018-05-14 | ||
### Fixed | ||
* Fix exports so all types of imports works (commonjs require and typescript import). | ||
## [3.1.2] - 2018-05-14 | ||
@@ -141,3 +147,4 @@ | ||
[unreleased]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.2...master | ||
[unreleased]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.3...master | ||
[3.1.3]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.2...3.1.3 | ||
[3.1.2]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.1...3.1.2 | ||
@@ -144,0 +151,0 @@ [3.1.1]: https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/3.1.0...3.1.1 |
@@ -8,3 +8,9 @@ "use strict"; | ||
exports.default = plugin_2.TsconfigPathsPlugin; | ||
const plugin = require("./plugin"); | ||
module.exports = plugin.TsconfigPathsPlugin; | ||
// This is to make it importable in all these ways | ||
// const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); | ||
// import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin"; | ||
// import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin"; | ||
const theClass = require("./plugin").TsconfigPathsPlugin; | ||
theClass.TsconfigPathsPlugin = plugin_2.TsconfigPathsPlugin; | ||
theClass.default = plugin_2.TsconfigPathsPlugin; | ||
module.exports = theClass; |
{ | ||
"name": "tsconfig-paths-webpack-plugin", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Load modules according to tsconfig paths in webpack.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
205795
474