Skip to content

external-styles-include#155

Open
artreaktor-niks wants to merge 1 commit into
masterfrom
external-styles-include
Open

external-styles-include#155
artreaktor-niks wants to merge 1 commit into
masterfrom
external-styles-include

Conversation

@artreaktor-niks

@artreaktor-niks artreaktor-niks commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

Temporary way to include external library styles with linter exclude.

Target to gather all component styles in one place. In this case on the storybook component.
In this temporary way - include CSS file from a library inside a separate file on the storybook side.
Than include this file separately - on storybook, and on Drupal side.
For the linter - added exclusion for the files that have names ending on *_external.css

---
/color/*.css
dist/**/*.css
*_external.css No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's redundant, probably disabling dist/**/*.css will be already enough. Please test

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is because of lint checking file on "Drupal/src" & storybook linter check files of external libraries css.

@artreaktor-niks
artreaktor-niks force-pushed the external-styles-include branch from 617a7d1 to c2866ed Compare May 2, 2022 07:42
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.

2 participants