summaryrefslogtreecommitdiff
path: root/node_modules/cssnano/src
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/cssnano/src')
-rw-r--r--node_modules/cssnano/src/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/cssnano/src/index.js b/node_modules/cssnano/src/index.js
index 50fb2148..20c38975 100644
--- a/node_modules/cssnano/src/index.js
+++ b/node_modules/cssnano/src/index.js
@@ -42,8 +42,8 @@ function resolvePreset(preset) {
}
// For JS setups where we invoked the preset already
- if (preset.plugins) {
- return preset.plugins;
+ if (fn.plugins) {
+ return fn.plugins;
}
// Provide an alias for the default preset, as it is built-in.