babel-plugin-react-scoped-css
Advanced tools
Comparing version 0.1.2 to 0.2.3
@@ -16,4 +16,6 @@ // @ts-check | ||
// @todo: 每次需要输出一致的 hash,不同机器上 | ||
const computeHash = filePath => md5(filePath).substr(0, 5) | ||
// @todo | ||
// 每次需要输出一致的 hash,不同机器上 | ||
// | ||
const computeHash = filePath => md5(filePath).substr(0, 8) | ||
@@ -44,3 +46,3 @@ module.exports = function({ types: t }) { | ||
t.jsxIdentifier(`data-v-${hash}`), | ||
t.jsxExpressionContainer(t.booleanLiteral(true)) | ||
t.jsxExpressionContainer(t.stringLiteral('')) | ||
) | ||
@@ -47,0 +49,0 @@ ) |
{ | ||
"name": "babel-plugin-react-scoped-css", | ||
"version": "0.1.2", | ||
"version": "0.2.3", | ||
"main": "index.js", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
], | ||
"gitHead": "628a2fde25b94977148789d6f1dbce473227f5f9" | ||
"gitHead": "dbbfc309e6d58e5f577c6f9b1786249a445ddc72" | ||
} |
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
3892
49