Skip to content

Instantly share code, notes, and snippets.

@qifei
Last active August 23, 2024 03:51
Show Gist options
  • Save qifei/58ed4081909b57c5d723e076d10057da to your computer and use it in GitHub Desktop.
Save qifei/58ed4081909b57c5d723e076d10057da to your computer and use it in GitHub Desktop.
module build failed (from ./node_modules/postcss-loader/src/index.js)

change this

margin: 0 calc(var(--gap-x) * -0.5);

to

margin: 0 -1rem;

negative value cause error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment