Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
441 B
JavaScript
Executable File
19 lines
441 B
JavaScript
Executable File
const { Component } = require('./Component');
|
|
|
|
module.exports = class PurifyCss extends Component {
|
|
passive = true;
|
|
|
|
/**
|
|
* Required dependencies for the component.
|
|
*/
|
|
dependencies() {
|
|
if (this.context.config.purifyCss) {
|
|
throw new Error(
|
|
'PurifyCSS support is no longer available. We recommend using PurgeCss + postCss instead.'
|
|
);
|
|
}
|
|
|
|
return [];
|
|
}
|
|
};
|