@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shijiu/jsview-vue",
3
- "version": "0.9.279",
3
+ "version": "0.9.280",
4
4
  "bin": {
5
5
  "jsview-post-build": "./scripts/jsview-post-build.js",
6
6
  "jsview-post-install": "./scripts/jsview-post-install.js",
@@ -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;