storybookjs / addon-postcss

This Storybook addon can be used to run the PostCSS preprocessor against your stories.
MIT License
20 stars 22 forks source link

Webpack module rule regex updated for .postcss and .pcss file ext #17

Closed Asim-Tahir closed 3 years ago

Asim-Tahir commented 3 years ago

Added optional .postcss and .pcss file extension regex. It's still support .css file extension.

phated commented 3 years ago

I've not seen this as a common pattern/file extension. Do you have a link to this recommendation?

Asim-Tahir commented 3 years ago

First I saw the .pcss and .postcss file extension here.

Asim-Tahir commented 3 years ago

Any update 👀

Asim-Tahir commented 3 years ago

@knightly-bot build this

knightly-bot commented 3 years ago

This repo does not have Knightly configured yet.

Please open a request issue to enable this repo in knightlyjs/tasks first.

antfu commented 3 years ago

@knightly-bot build this

knightly-bot commented 3 years ago

Nightly Build

🌒 Knightly build enabled, release every night at 00:00 UTC (skip if no change)

📦 npm package

zakkor commented 3 years ago

We need this too, or at least an option to make it configurable.

RumyantsevMichael commented 3 years ago

I believe you should support .pcss as it is widely used. For instance, webstorm supports this extension out of the box (https://plugins.jetbrains.com/plugin/8578-postcss)

fvanwijk commented 2 years ago

.postcss extension needs to be matched for .vue files that have <style lang="postcss">

alkorlos commented 2 years ago

@phated Yes I have a link, official twitter PostCSS recommendation use .pcss extension for PostCSS based sources. https://twitter.com/PostCSS/status/661645290622083073