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

[@rollup/plugin-node-resolve] does not include fonts that are imported from css file. #1330

Closed
DamianPereira opened this issue Oct 25, 2022 · 2 comments

Comments

@DamianPereira
Copy link

Expected Behavior

Running npx rollup -c inside that repository should package font files for package typeface-roboto, which includes a css file which imports several font files.

Actual Behavior

The folder dist/node_modules/typeface-roboto only contains the css, converted to inline and moved into a js file. The font files are nowhere to be found.

Additional Information

This might be related to rollup/rollup#2872, as I think I'm trying to have postcss plugin handle the font file imports.

@stale stale bot added the x⁷ ⋅ stale label Dec 24, 2022
@stale
Copy link

stale bot commented Dec 26, 2022

Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

@stale stale bot closed this as completed Dec 26, 2022
@hanifmhd
Copy link

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants