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
When using the bundle API, we may import CSS from third-party dependencies with @import.
bundle
@import
e.g.
// style.css @import "./common.css"; @import "bootstrap/dist/css/bootstrap.min.css" // ...
Avoid the overhead of passing functions to Rust, we can add a parsing dependency entry point configuration (maybe projectRoot or new config ).
parsing dependency entry point
projectRoot
An example of parse the path:
const resolve = require("enhanced-resolve"); resolve(projectRoot, "bootstrap/dist/css/bootstrap.min.css"
( we can use libraries like parcel-resolver or rspack-resolver )
parcel-resolver
rspack-resolver
Related to #747 , fz6m/lightningcss-loader#8 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the
bundle
API, we may import CSS from third-party dependencies with@import
.e.g.
Avoid the overhead of passing functions to Rust, we can add a
parsing dependency entry point
configuration (maybeprojectRoot
or new config ).An example of parse the path:
( we can use libraries like
parcel-resolver
orrspack-resolver
)Related to #747 , fz6m/lightningcss-loader#8 (comment)
The text was updated successfully, but these errors were encountered: