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

Can't make postcss sugarss work II #127

Closed
rodshtein opened this issue Mar 28, 2020 · 1 comment
Closed

Can't make postcss sugarss work II #127

rodshtein opened this issue Mar 28, 2020 · 1 comment

Comments

@rodshtein
Copy link
Contributor

rodshtein commented Mar 28, 2020

I saw issue #43 and tried many ways (from issue #43 too), but still can't make it work.
I created a repository with a basic config for testing.

postcss.config.js

module.exports = () => ({
  parser: 'sugarss',
  map: true,
  plugins: {
    'postcss-nested': {},
    …

app.svelte

<style lang="postcss">
  main
    text-align: center
    padding: 1em
    …

terminal

CssSyntaxError: app.svelte:3:3: Unknown word
…
@kaisermann
Copy link
Member

kaisermann commented Mar 29, 2020

Thanks for your report! That was being caused by how the postcss-load-config spits out the option object. Fixed in 3.7.1 🎉

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

No branches or pull requests

2 participants