diff --git a/esm/index.mjs b/esm/index.mjs index c271818..2e3bf30 100644 --- a/esm/index.mjs +++ b/esm/index.mjs @@ -1,3 +1,4 @@ import StyleToObject from '../cjs/index.js'; -export default StyleToObject.default; +// ensure compatibility with rollup umd build +export default StyleToObject.default || StyleToObject;