v1.0 with SW PWA enabled
This commit is contained in:
7
frontend/node_modules/tailwindcss/lib/cli/build/plugin.js
generated
vendored
7
frontend/node_modules/tailwindcss/lib/cli/build/plugin.js
generated
vendored
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user