WordPress plugin intelligence profile

Easy SCSS and JS

This plugin adds SCSS functionality, compresses JS for you and creates an easy way to enqueue scripts and styles as well as localize them.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.0
Current version2.5.7
WordPress coverageTested up to WordPress 6.0
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update5 Sept 20224y ago
Active installations50Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Easy SCSS and JS version 2.5.7 as active, updated 4y ago and tested up to WordPress 6.0.

Overview

About this plugin

This plugin adds SCSS functionality, compresses JS for you and creates an easy way to enqueue scripts and styles as well as localize them.

How to use

Let’s assume this structure:

your theme

├── assets

│ ├── js

js

│ └── scss

scss

php

└── …

php with styles:

scss', [],[], true);

scss');

scss', ['bootstrap']);

scss', [], [ 'my_cool_color' => '#0000ff', ]);

scss', [], [], false); wp_enqueue_style('my_style_handle'); });

And this with scripts:

js', ['jquery'], [], true, true);

js');

js', []);

js', ['jquery', 'other_script']);

js', ['jquery'], [ 'my_variable' => 'testing this awesome plugin', ]);

js', ['jquery'], [], false); wp_enqueue_script('my_script_handle');

js', ['jquery'], [], true, false); });

Use variables in SCSS:

// This is recommended. It will throw a fatal error if your PHP doesn't set the variable for some reason. // If PHP does set it, it will replace $my_cool_color with the defined color in PHP.

default;

body{ background-color: $my_cool_color; // This will be blue (#0000ff) }

Use variables in JS:

my_variable);

Compiled files will be saved in wp-content/uploads/compiled-scss-and-js. When that folder is cleared, everything will be regenerated.

Filters

There are filters for adding generic variables to all (or a selection) of scripts and styles or for adding extra content to files:

– easy_scss_extra_variables

– easy_scss_add_code_before_content

– easy_scss_add_code_after_content

– easy_scss_create_source_map

– easy_scss_storage_folder_name

– easy_scss_storage_folder

– easy_scss_storage_folder_url

– easy_scss_after_compilation

– easy_js_extra_variables

– easy_js_storage_folder_name

– easy_js_storage_folder

– easy_js_storage_folder_url

– easy_js_after_compilation

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • easy
  • easyscss
  • js
  • ljpc
  • scss
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.0
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity5 Sept 20224y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.