We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Writing out metadata should succeed, even if some of the chunks don't have any CSS dependencies.
TypeError: Cannot read property 'dest' of undefined
Filter the list of dependencies in rollup.js inside the if(options.meta) block so that only those that exist in out are used to create the array.
rollup.js
if(options.meta)
out
meta : true
Want to use metadata to rewrite chunks after a build to include their CSS automatically, but can't do that atm because the build fails.
modular-css
npm --version
node --version
The text was updated successfully, but these errors were encountered:
test: failing test for #543
b9d885c
fix: support chunks that don't depend on css (#544)
10074e3
Fixes #543
tivac
Successfully merging a pull request may close this issue.
Expected Behavior
Writing out metadata should succeed, even if some of the chunks don't have any CSS dependencies.
Current Behavior
TypeError: Cannot read property 'dest' of undefined
Possible Solution
Filter the list of dependencies in
rollup.js
inside theif(options.meta)
block so that only those that exist inout
are used to create the array.Steps to Reproduce (for bugs)
meta : true
in the rollup pluginContext
Want to use metadata to rewrite chunks after a build to include their CSS automatically, but can't do that atm because the build fails.
Your Environment
modular-css
npm --version
node --version
The text was updated successfully, but these errors were encountered: