I tried to add postcss support to my mantine web app.
However, parcel fails while transforming the css with this error:
@parcel/transformer-postcss: Cannot read properties of undefined (reading 'input')
TypeError: Cannot read properties of undefined (reading 'input')
at Rule.toJSON (C:\dev\dev\github\eekboom\mantine-min\node_modules\postcss\lib\node.js:330:40)
at C:\dev\dev\github\eekboom\mantine-min\node_modules\postcss\lib\node.js:322:22
at Array.map (<anonymous>)
at Root.toJSON (C:\dev\dev\github\eekboom\mantine-min\node_modules\postcss\lib\node.js:320:29)
at Object.transform (C:\dev\dev\github\eekboom\mantine-min\node_modules\@parcel\transformer-postcss\lib\PostCSSTransformer.js:245:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Transformation.runTransformer (C:\dev\dev\github\eekboom\mantine-min\node_modules\@parcel\core\lib\Transformation.js:568:5)
at async Transformation.runPipeline (C:\dev\dev\github\eekboom\mantine-min\node_modules\@parcel\core\lib\Transformation.js:346:36)
at async Transformation.runPipelines (C:\dev\dev\github\eekboom\mantine-min\node_modules\@parcel\core\lib\Transformation.js:229:40)
at async Transformation.run (C:\dev\dev\github\eekboom\mantine-min\node_modules\@parcel\core\lib\Transformation.js:149:21)
🐛 bug report
I tried to add postcss support to my mantine web app. However, parcel fails while transforming the css with this error:
💻 Code Sample
I made a SSCCE here: https://github.com/eekboom/mantine-min
That project contains both vite and parcel and starts fine with vite, but fails with parcel.