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

bugfix: enable postcss support #19

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

bugfix: enable postcss support #19

wants to merge 1 commit into from

Conversation

hitme
Copy link

@hitme hitme commented Oct 23, 2018

When the generated module library is imported, the importing project sometimes enabled postcss-loader, thus result in the following error:

Module build failed: Error: No PostCSS Config found in: ./{{lib-name}}/dist
at config.load.then (./{{working-dir}}/node_modules/postcss-load-config/src/index.js:55:15)

@ ../{{lib-name}}/dist/{{lib-name}}.css 4:14-177 13:3-17:5 14:22-185
@ ../{{lib-name}}/index.js
@ ./src/router/index.js
@ ./src/main.js

Adding an empty default config file for postcss fix that problem.

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