Skip to content

feat: support resolve url() statements#53

Open
ben-lau wants to merge 5 commits intoyenshih:masterfrom
ben-lau:master
Open

feat: support resolve url() statements#53
ben-lau wants to merge 5 commits intoyenshih:masterfrom
ben-lau:master

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.

1 participant