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

Refactor webpack rule test to support 'postcss' as a lang/file-extension #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

enjibby
Copy link

@enjibby enjibby commented Oct 7, 2022

Laravel Mix and VSCode's Vetur plugin are quite at odds with how to specify that you wish to use PostCSS in your VueJS single-file component. I have used some custom configuration in my project to support <style lang="postcss"> for my NPM builds, but Storybook (in particular, this postcss addon) does not yet recognise this customisation.

I have updated the css rule test to allow a developer to specify <style lang="postcss"> in their single-file components to ensure Vetur and linting tools correctly recognise the code, while still supporting the same compilation when using the default <style> element.

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

Successfully merging this pull request may close these issues.

1 participant