🚀 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.1
to
0.0.2
+2
-1
index.js

@@ -50,3 +50,4 @@ 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

@@ -53,0 +54,0 @@ }

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

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

@@ -76,1 +76,11 @@ # rollup-plugin-paths

MIT
## Log
### v0.0.2 (2017-06-30)
- 修复windows下路径错误的bug
### v0.0.1 (2017-03-24)
- 完成