Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ember-cli-lightningcss

ember-cli-lightningcss is a Classic Ember CLI addon that keeps production CSS minification working when a modern vendor stylesheet uses native CSS nesting.

It minifies vendor.css with Lightning CSS and application CSS with CleanCSS. This combination supports modern third-party CSS while preserving compatibility with legacy nested at-rules produced by older Ember applications.

Installation

Install the published package:

ember install ember-cli-lightningcss

Until an npm release is available, install directly from GitHub:

ember install github:khaled-s/ember-cli-lightningcss

No application configuration is required. The addon registers itself as the project's minify-css preprocessor during production builds.

Compatibility

  • Classic Ember CLI 3.28+
  • Applications that use ember-cli-build.js
  • Node.js versions supported by the host Ember CLI application

This addon is for the Classic Ember CLI build pipeline. It does not configure Vite-based Ember applications.

Development

npm install
npm test
npm pack --dry-run

The test suite verifies addon registration as well as both the legacy application-CSS and modern nested vendor-CSS minification paths.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages