diff --git a/packages/gasket-core/lib/gasket.js b/packages/gasket-core/lib/gasket.js index bb31fff4c..f2d1ae905 100644 --- a/packages/gasket-core/lib/gasket.js +++ b/packages/gasket-core/lib/gasket.js @@ -38,6 +38,7 @@ export class Gasket { // prune nullish and/or empty plugins config.plugins = config.plugins .filter(Boolean) + .map(plugin => plugin.default || plugin) // quality of life for cjs apps .filter(plugin => Boolean(plugin.name) || Boolean(plugin.hooks)); // start the engine