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

scssPHP 1.5.2 & update deprecations #195

Merged
merged 12 commits into from
Jun 16, 2021

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.

readme.md Outdated Show resolved Hide resolved
wp-scss.php Outdated Show resolved Hide resolved
@shadoath
Copy link
Collaborator Author

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

class/class-wp-scss.php Outdated Show resolved Hide resolved
class/class-wp-scss.php Outdated Show resolved Hide resolved
options.php Outdated Show resolved Hide resolved
@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.

2 participants