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

Pigment CSS overwrites the original TSX source maps with the compiled JS files #316

Open
aleksei-berezkin opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Milestone

Comments

@aleksei-berezkin
Copy link

aleksei-berezkin commented Nov 11, 2024

Steps to reproduce

Example project: https://github.com/aleksei-berezkin/mui-pigment-example/

  1. npm run dev
  2. Open localhost:3000
  3. Open the developers console
  4. Locate app/page.tsx file

Current behavior

The compiled JS file is displayed

Expected behavior

The original page.tsx is displayed

Context

No response

Your environment

System:
  OS: macOS 14.0
Binaries:
  Node: 20.14.0 - /opt/homebrew/opt/node@20/bin/node
  npm: 10.7.0 - /opt/homebrew/opt/node@20/bin/npm
  pnpm: 9.11.0 - /opt/homebrew/opt/node@20/bin/pnpm
Browsers:
  Chrome: 130.0.6723.117
  Edge: Not Found
  Safari: 17.0
npmPackages:
  @emotion/react: ^11.13.3 => 11.13.3 
  @emotion/styled: ^11.13.0 => 11.13.0 
  @mui/core-downloads-tracker:  6.1.6 
  @mui/material: ^6.1.6 => 6.1.6 
  @mui/material-pigment-css: ^6.1.6 => 6.1.6 
  @mui/private-theming:  6.1.6 
  @mui/styled-engine:  6.1.6 
  @mui/system:  6.1.6 
  @mui/types:  7.2.19 
  @mui/utils:  6.1.6 
  @pigment-css/nextjs-plugin: ^0.0.26 => 0.0.26 
  @pigment-css/react:  0.0.25 
  @pigment-css/unplugin:  0.0.26 
  @types/react: ^18.3.1 => 18.3.12 
  react: ^18.3.1 => 18.3.1 
  react-dom: ^18.3.1 => 18.3.1 
  typescript: ^5.6.3 => 5.6.3 

Search keywords: Pigment, source maps

@aleksei-berezkin aleksei-berezkin added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Nov 11, 2024
@brijeshb42 brijeshb42 self-assigned this Nov 12, 2024
@brijeshb42 brijeshb42 added the bug 🐛 Something doesn't work label Nov 12, 2024
@brijeshb42 brijeshb42 added this to the Road to v1 milestone Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants