@vueless/storybook 1.1.1 → 1.1.2

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": "@vueless/storybook",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Simplifies Storybook configuration for Vueless UI library.",
5
5
  "homepage": "https://vueless.com",
6
6
  "author": "Johnny Grid",
@@ -138,7 +138,7 @@ function getType(prop) {
138
138
  async function extractInformation(absolutePath, config, vuelessConfig) {
139
139
  const doc = await parse(config.cwd + "/" + absolutePath, {
140
140
  /* Allow to parse vueless components from node_modules. */
141
- validExtends: (filePath) => filePath.includes(config.srcDir),
141
+ validExtends: (filePath) => filePath.replace(/\\/g, "/").includes(config.srcDir),
142
142
  ...config.apiOptions,
143
143
  });
144
144
  const name = doc.name || doc.displayName;