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

Exclude postcss.config.js from package #1709

Closed
fshowalter opened this issue Sep 19, 2023 · 1 comment · Fixed by #1710
Closed

Exclude postcss.config.js from package #1709

fshowalter opened this issue Sep 19, 2023 · 1 comment · Fixed by #1710

Comments

@fshowalter
Copy link
Contributor

Hi,

Congrats on the 4.0 release! Looks like lots of work went into this out the door. I think you missed one bit, however. By including the postcss.config.js in the package root, it'll get picked up by anyone referencing the CSS in the dist (such as Gatsby) and using postcss-loader (again, Gatsby).

https://webpack.js.org/loaders/postcss-loader/#config-cascade

This wouldn't be too much of a problem, except it includes a "plugins" section which means the loader will try and load those plugins and error when they aren't found (example: stylelint).

Removing the postcss.config.js file from node_module/littlefoot resolves the problem.

fshowalter added a commit to fshowalter/littlefoot that referenced this issue Sep 19, 2023
@goblindegook
Copy link
Owner

Merged, thanks for the patch!

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 a pull request may close this issue.

2 participants