@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 +1 -1
- package/webTypes/lib/build.js +1 -1
package/package.json
CHANGED
package/webTypes/lib/build.js
CHANGED
|
@@ -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;
|