-
Notifications
You must be signed in to change notification settings - Fork 916
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
Add input option to plugin-svelte #1347
Add input option to plugin-svelte #1347
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/pikapkg/snowpack/7xd8fu4k3 |
9a9551e
to
827d269
Compare
Test Passed. Ready for review |
I use svelte, but haven't heard of the |
@canadaduane This PR adds ability to modify the file extensions we run on, primarily to add things in addition to Overriding extensions for plain svelte files is not a standard convention, but a couple of popular preprocessors and plugins do this. Namely the markdown preprocessor for svelte, pngwn/MDsveX, which uses Its worth noting that for mdsvex, using another file extension is sort of required since it treats the entire file as html enabled markdown without checking/needing a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thinking about why he asked made me realize I put |
I think it's fine as-is. It would only show that to the user who's playing around with the |
Thanks, that makes more sense now.
…On Sun, Oct 18, 2020, 1:35 AM Fred K. Schott ***@***.***> wrote:
I think it's fine as-is. It would only show that to the user who's playing
around with the input setting, so it's not necessarily the "default" user
who would see that message.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1347 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAABAP73F6UJPLUKDLL5BTSLKLEZANCNFSM4SUTFRXA>
.
|
Could this be defaulted to the |
@techniq While I also use |
Changes
Adds an
input
option to plugin-svelte that modifiesresolve.input
. Enables non-standard file extensions such as.svx
to be usedTesting
Roughly copied the related tests from plugin-babel. Had issues getting test to run properly locally, so opening the PR a bit early to see the results.
Docs
Roughly copied related docs from plugin-babel.