Jesus sucks

This commit is contained in:
2024-12-17 13:23:11 -08:00
parent 3a3382ffff
commit b2dbf46d28
13060 changed files with 1310035 additions and 1 deletions

24
backend/frontend/node_modules/precss/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,24 @@
import postcss from 'postcss';
import postcssAdvancedVariables from 'postcss-advanced-variables';
import postcssAtroot from 'postcss-atroot';
import postcssExtendRule from 'postcss-extend-rule';
import postcssNested from 'postcss-nested';
import postcssPresetEnv from 'postcss-preset-env';
import postcssPropertyLookup from 'postcss-property-lookup';
// tooling
const plugins = [postcssExtendRule, postcssAdvancedVariables, postcssPresetEnv, postcssAtroot, postcssPropertyLookup, postcssNested]; // plugin
var index = postcss.plugin('precss', rawopts => {
// initialize options, defaulting preset-env to stage 0 features
const opts = Object.assign({
stage: 0
}, rawopts); // initialize all plugins
const initializedPlugins = plugins.map(plugin => plugin(opts)); // process css with all plugins
return (root, result) => initializedPlugins.reduce((promise, plugin) => promise.then(() => plugin(result.root, result)), Promise.resolve());
});
export default index;