Closed truesteps closed 1 year ago
I updated 2nd step, since Vite only uses esmodules on dev, this only breaks when bundling app for development. When bundling for production, Vite uses rollup, so production builds work as expected.
This looks like a bundling / frontend build issue at the postcss level. You could open a ticket with postcss, or it may be an issue with the way your bundling for frontend use works, but it's not something that can be resolved within sanitize-html.
Excuse me, I meant to say "within sanitize-html."
To Reproduce
Step by step instructions to reproduce the behavior:
Expected behavior
Describe the bug
Details
Version of Node.js: v16.11.1
Server Operating System: Docker Ubuntu
Additional context:
Screenshots