Skip to content

Commit 3dd80be

Browse files
committed
💥 Change 'v-' to 'vi-'.
Signed-off-by: Rainfore <rainforest92@126.com>
1 parent 904f0e7 commit 3dd80be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/getLocalIdent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function getLocalIdent(loaderContext, localIdentName, localName
1717
localIdentName = localIdentName.replace(/\[local\]/gi, localName);
1818

1919
var filename = path.basename(loaderContext.resourcePath);
20-
if (!filename.startsWith('v-'))
20+
if (!filename.startsWith('vi-'))
2121
localIdentName += '_[hash:base64:6]';
2222
var hash = loaderUtils.interpolateName(loaderContext, localIdentName, options);
2323
return hash.replace(new RegExp("[^a-zA-Z0-9\\-_\u00A0-\uFFFF]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vision-css-loader",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"author": "Tobias Koppers @sokra",
55
"description": "css loader module for webpack",
66
"engines": {

0 commit comments

Comments
 (0)