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

one-loader really react specific? #50

Open
Zauberfisch opened this issue Aug 22, 2020 · 1 comment
Open

one-loader really react specific? #50

Zauberfisch opened this issue Aug 22, 2020 · 1 comment

Comments

@Zauberfisch
Copy link

The readme says that one-loader is A webpack loader to enable single-file React components. Inspired by vue-loader..

But is it really react specific? And why don't we want to market it as a general purpose single file component loader?

@MunGell
Copy link
Collaborator

MunGell commented Aug 22, 2020

You are right, it doesn't need to be React specific. It was marketed like that because it was built specifically for React apps I was working on at that time. However, as you noted, it is not narrowed to only React and can be used for other frameworks that follow same pattern. Never tested it with anything else though, so if you have an example - please feel free to add it to the examples directory - this will be a good start to make this tool more universal!

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

2 participants