Improve Jqhtml_Integration.js documentation with hydration system explanation Add jqhtml-laravel integration packages for traditional Laravel projects 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
474 B
JavaScript
24 lines
474 B
JavaScript
'use strict';
|
|
const processors = require('./lib/decl');
|
|
/**
|
|
* @type {import('postcss').PluginCreator<void>}
|
|
* @return {import('postcss').Plugin}
|
|
*/
|
|
function pluginCreator() {
|
|
return {
|
|
postcssPlugin: 'postcss-merge-longhand',
|
|
|
|
OnceExit(css) {
|
|
css.walkRules((rule) => {
|
|
processors.forEach((p) => {
|
|
p.explode(rule);
|
|
p.merge(rule);
|
|
});
|
|
});
|
|
},
|
|
};
|
|
}
|
|
|
|
pluginCreator.postcss = true;
|
|
module.exports = pluginCreator;
|