-
I have a custom Nuxt module that reads a local
Nitro plugin then adds it to HTML
The file is added to |
Beta Was this translation helpful? Give feedback.
Answered by
YuLogun
May 2, 2024
Replies: 2 comments
-
I use cssnano with postcss in one of my modules. const scriptText = '...';
const minifiedScriptText = await postcss([cssnano({ preset: 'default' })]).process(scriptText, {
from: undefined,
}); |
Beta Was this translation helpful? Give feedback.
0 replies
-
I ended up with
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YuLogun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ended up with
esbuild
approach