vuejs / vue-loader

📦 Webpack loader for Vue.js components
MIT License
4.99k stars 915 forks source link

why v16 somehow be applied on non-vue files... ignore them #1888

Closed miujg closed 3 years ago

miujg commented 3 years ago

Version

16.8.1

code link

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
  }

result

This will make many packages unusable. such as:vue-markdown-loader. If I customize one md-loader, it won't work.

vue-bot commented 3 years ago

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!