css-modules-loader-core
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -60,4 +60,5 @@ 'use strict'; | ||
return new Promise(function (resolve, reject) { | ||
var rootRelativePath = _path2['default'].resolve(_path2['default'].dirname(relativeTo), newPath), | ||
fileRelativePath = _this.root + rootRelativePath; | ||
var relativeDir = _path2['default'].dirname(relativeTo), | ||
rootRelativePath = _path2['default'].resolve(relativeDir, newPath), | ||
fileRelativePath = _path2['default'].resolve(_path2['default'].join(_this.root, relativeDir), newPath); | ||
@@ -64,0 +65,0 @@ _fs2['default'].readFile(fileRelativePath, 'utf-8', function (err, source) { |
{ | ||
"name": "css-modules-loader-core", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A loader-agnostic CSS Modules implementation, based on PostCSS", | ||
@@ -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
12595
237182
203