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

feat: add getJSON option to output CSS modules mapping #1577

Merged

Commits on Apr 4, 2024

  1. feat: add getJSON option to output CSS modules mapping

    This changeset adds a `getJSON` option to output CSS modules mappings to JSON.
    This value can be a boolean or a function, and it employs similar logic to
    [postcss-modules#getJSON](https://github.com/madyankin/postcss-modules?tab=readme-ov-file#saving-exported-classes) as a function.
    This is particularly useful for SSR/SSG/templating languages when CSS modules mappings need to be present at build time.
    
    Addresses [webpack-contrib#988](webpack-contrib#988).
    stephenkao committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7b9e8d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    5c14a7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd3b7ae View commit details
    Browse the repository at this point in the history