Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this loader be applied to. md files #1890

Closed
miujg opened this issue Oct 13, 2021 · 2 comments
Closed

Can this loader be applied to. md files #1890

miujg opened this issue Oct 13, 2021 · 2 comments

Comments

@miujg
Copy link

miujg commented Oct 13, 2021

What problem does this feature solve?

In version 16.8.1, Index.js has a piece of code:

if (!/\.vue(\.html)?$/.test(loaderContext.resourcePath)) {
    // ts-loader does some really weird stuff which causes vue-loader to
    // somehow be applied on non-vue files... ignore them
    return source
  }

therefore, this loader cannot be used to convert the markdown file. some md loaders, such as vue-markdown-loader, cannot take effect.

What does the proposed API look like?

please let go of the conditions here,apply to .md file

@JuniorTour
Copy link
Contributor

PR #1889 will allow vue-loader to process .md file

@sodatea
Copy link
Member

sodatea commented Oct 26, 2021

Fixed in v16.8.2

@sodatea sodatea closed this as completed Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants