v1.0 with SW PWA enabled

This commit is contained in:
Blomios
2026-01-01 17:40:53 +01:00
parent 1c0e22aac1
commit 3c8bebb2ad
29775 changed files with 2197201 additions and 119080 deletions

View File

@ -52,10 +52,13 @@ function _interop_require_default(obj) {
if (!config.plugins) {
config.plugins = [];
}
// We have to await these because in v5 and v6 of postcss-load-config
// these functions return promises while they don't in v4. Awaiting a
// non-promise is basically a no-op so this is safe to do.
return {
file,
plugins: (0, _plugins.default)(config, file),
options: (0, _options.default)(config, file)
plugins: await (0, _plugins.default)(config, file),
options: await (0, _options.default)(config, file)
};
})() : await (0, _postcssloadconfig.default)();
let configPlugins = config.plugins;