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

feat: support resolve url() statements #53

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ben-lau
Copy link

@ben-lau ben-lau commented May 12, 2022

support resolve url() statements, because in some cases, when we use url() to import images, we would expect the image path to be relative to the resource file, not to the source files.

@ben-lau
Copy link
Author

ben-lau commented May 13, 2022

Now supports @import statement and url() statement to import modules from node_modules or alias

@ben-lau
Copy link
Author

ben-lau commented May 13, 2022

also fix the issue #6

@ben-lau ben-lau closed this May 18, 2022
@ben-lau ben-lau reopened this May 20, 2022
@ben-lau
Copy link
Author

ben-lau commented May 20, 2022

Now only all relative paths with './' and '../' will be resolved, the reset like alias and node_modules will be solved at the preprocessor

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

Successfully merging this pull request may close these issues.

None yet

1 participant