🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

rollup-plugin-paths

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-paths - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+2
-2
index.js

@@ -50,5 +50,5 @@ var path = require('path')

} else {
updateId = path.resolve(path.dirname(rollupOptions.entry), updateId)
// 将合并后的`\`转换为`/`,解决windows下的路径错误
updateId = path.resolve(path.dirname(rollupOptions.entry), updateId).replace(/\\/g, '/')
return rollupOptions.is_jtaro_module ? getRelativePath(importer, updateId) : updateId
return rollupOptions.is_jtaro_module ? getRelativePath(importer, updateId).replace(/\\/g, '/') : updateId
}

@@ -55,0 +55,0 @@ }

{
"name": "rollup-plugin-paths",
"version": "0.0.2",
"version": "0.0.3",
"description": "Let you use the same variables at different directory.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -79,2 +79,6 @@ # rollup-plugin-paths

### v0.0.3 (2017-06-30)
- 修复v0.0.2的问题
### v0.0.2 (2017-06-30)

@@ -81,0 +85,0 @@