@shijiu/jsview-vue 0.9.279 → 0.9.280
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -107,6 +107,8 @@ function compileCssToJs(sfc, options) {
|
|
|
107
107
|
// styleCodeContainer.add(styleCode);
|
|
108
108
|
|
|
109
109
|
checkSelectors(node, styleInfo.styleFilePath, styleInfo.styleSelectors); // 检测selector是否已经处理过
|
|
110
|
+
let styleJsFilePath = path.relative(nodeModulesDir, styleInfo.styleJsFilePath);
|
|
111
|
+
styleJsFilePath = styleJsFilePath.replace(/\\/g, '/');
|
|
110
112
|
styleImportContainer += `\nimport "${path.relative(nodeModulesDir, styleInfo.styleJsFilePath)}";`
|
|
111
113
|
} else if(node.name === "keyframes") {
|
|
112
114
|
const styleFilePath = node.source.input.file;
|