vue-styleguidist
vue-styleguidist copied to clipboard
fix(docs): Wrong regular expression in documentation
File path: package/vue-doc-cli/README.md
Description: A part of the description of getDestFile is :
default: (file, config) => path.resolve(config.outDir, file).replace(/\.\w+/$/, '.md')
the express .replace(/\.\w+/$/, '.md') is supposed to realce the filename extension from .vue, .jsx ... to .md, but it was wrong spelled, the right one is in follow content:
default: (file, config) => path.resolve(config.outDir, file).replace(/\.\w+$/, '.md')