You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this plugin together with tsup builder and there is no css file generated when running this plugin. If I remove the plugin the css file is generated as expected.
The css module file is imported like this in src/index.tsx
import styles from "./index.module.css"
This will end upp generating these files: "dist/index.d.ts", "dist/index.js" and "dist/index.mjs" and the css is injected correctly as an object in index.js and index.mjs like this
I'm also using it with tsup. I'm currently using bundle: true and inject: true as an alternative, but the project requires to import the CSS file separately. The main goal would be having the *.module.css files parsed to *.css with the content that is currently being injected.
Also, the injected setup doesn't minifies the content.
Hi!
I am using this plugin together with tsup builder and there is no css file generated when running this plugin. If I remove the plugin the css file is generated as expected.
This is my package.json:
Here are the esbuild options used:
And the tsup config extension:
The css module file is imported like this in src/index.tsx
This will end upp generating these files: "dist/index.d.ts", "dist/index.js" and "dist/index.mjs" and the css is injected correctly as an object in index.js and index.mjs like this
Is this supposed to generate a css file? If not, any input on how to manage this?
The text was updated successfully, but these errors were encountered: