From 7e004ecaa493c4f667fd54b91c5811f994c5ed18 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 10 Dec 2023 16:32:22 +0000 Subject: [PATCH] fix: vanilla build alias --- packages/hover-vanilla/rollup.config.js | 1 + packages/vanilla/rollup.config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/hover-vanilla/rollup.config.js b/packages/hover-vanilla/rollup.config.js index 9f9e9113..9a70f173 100644 --- a/packages/hover-vanilla/rollup.config.js +++ b/packages/hover-vanilla/rollup.config.js @@ -19,6 +19,7 @@ const plugins = ({ compress }) => preventAssignment: true, values: { 'process.env.NODE_ENV': JSON.stringify('production'), + 'styled$1.styled': 'styled$1', __VERSION__: require('./package').version } }), diff --git a/packages/vanilla/rollup.config.js b/packages/vanilla/rollup.config.js index a734b755..3754e222 100644 --- a/packages/vanilla/rollup.config.js +++ b/packages/vanilla/rollup.config.js @@ -14,6 +14,7 @@ const plugins = ({ compress }) => [ replace({ preventAssignment: true, values: { + 'styledComponents.styled': 'styledComponents', 'process.env.NODE_ENV': JSON.stringify('production'), __VERSION__: require('./package').version }