Skip to content

Conversation

@shadoath
Copy link
Collaborator

No description provided.

@shadoath
Copy link
Collaborator Author

@stof Actually seemed like this was pretty straightforward to update. Thoughts? Things I might have missed?

Copy link

@stof stof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are still using the compile() method and not the new compileString() API.

Be careful though when migrating. When using SOURCE_MAP_FILE, the new API does not write the sourcemap to disk (just like the compiler never wrote the CSS to disk). The content of the source map will be available in the returned CompilationResult object.

@shadoath
Copy link
Collaborator Author

@stof, Ok. I think I got the compileString() working.

@shadoath shadoath merged commit 52ec82f into master-1.5.2 Jun 16, 2021
@shadoath shadoath deleted the scssPHP-1.5.2-update-deprications branch June 16, 2021 14:16
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.

3 participants