Skip to content

Can this loader be applied to. md files #1890

Closed
@miujg

Description

@miujg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions