babel-plugin-webpack-alias
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -71,3 +71,3 @@ 'use strict'; | ||
if (regex.test(filePath)) { | ||
let relativeFilePath = (0, _path.relative)((0, _path.dirname)(filename), aliasTo); | ||
let relativeFilePath = (0, _path.relative)((0, _path.dirname)(filename), aliasTo).replace(/\\/g, '/'); | ||
@@ -74,0 +74,0 @@ // In case the file path is the root of the alias, need to put a dot to avoid having an absolute path |
{ | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"name": "babel-plugin-webpack-alias", | ||
@@ -4,0 +4,0 @@ "description": "babel 6 plugin which allows to use webpack aliases", |
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
9243
7