From 0df0f74e589967c1b38ed5e395c9be9163b90f91 Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Wed, 21 Feb 2024 23:04:49 +0100 Subject: [PATCH] Fix properties plugins function --- packages/lucide-preact/rollup.config.mjs | 2 +- packages/lucide-react-native/rollup.config.mjs | 2 +- packages/lucide-react/rollup.config.mjs | 2 +- packages/lucide-static/rollup.config.mjs | 2 +- packages/lucide-vue-next/rollup.config.mjs | 2 +- packages/lucide-vue/rollup.config.mjs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/lucide-preact/rollup.config.mjs b/packages/lucide-preact/rollup.config.mjs index c88304b734..2a6b6305fa 100644 --- a/packages/lucide-preact/rollup.config.mjs +++ b/packages/lucide-preact/rollup.config.mjs @@ -35,7 +35,7 @@ const configs = bundles .map(({ inputs, outputDir, format, minify, preserveModules }) => inputs.map((input) => ({ input, - plugins: plugins(pkg, minify), + plugins: plugins({ pkg, minify }), external: ['preact'], output: { name: packageName, diff --git a/packages/lucide-react-native/rollup.config.mjs b/packages/lucide-react-native/rollup.config.mjs index 9bde99da13..5f786e0527 100644 --- a/packages/lucide-react-native/rollup.config.mjs +++ b/packages/lucide-react-native/rollup.config.mjs @@ -25,7 +25,7 @@ const configs = bundles .map(({ inputs, outputDir, format, minify, preserveModules }) => inputs.map((input) => ({ input, - plugins: plugins(pkg, minify), + plugins: plugins({ pkg, minify }), external: ['react', 'react-native-svg'], output: { name: packageName, diff --git a/packages/lucide-react/rollup.config.mjs b/packages/lucide-react/rollup.config.mjs index 3625733df1..c18c9571be 100644 --- a/packages/lucide-react/rollup.config.mjs +++ b/packages/lucide-react/rollup.config.mjs @@ -62,7 +62,7 @@ const configs = bundles }) => inputs.map((input) => ({ input, - plugins: plugins(pkg, minify), + plugins: plugins({ pkg, minify }), external: ['react', 'prop-types', ...external], output: { name: packageName, diff --git a/packages/lucide-static/rollup.config.mjs b/packages/lucide-static/rollup.config.mjs index 18d82c7fbd..e34e225deb 100644 --- a/packages/lucide-static/rollup.config.mjs +++ b/packages/lucide-static/rollup.config.mjs @@ -23,7 +23,7 @@ const configs = bundles .map(({ inputs, outputDir, format, minify, preserveModules }) => inputs.map((input) => ({ input, - plugins: plugins(pkg, minify), + plugins: plugins({ pkg, minify }), output: { name: outputFileName, ...(preserveModules diff --git a/packages/lucide-vue-next/rollup.config.mjs b/packages/lucide-vue-next/rollup.config.mjs index e458bf4403..bfb3e0cecf 100644 --- a/packages/lucide-vue-next/rollup.config.mjs +++ b/packages/lucide-vue-next/rollup.config.mjs @@ -35,7 +35,7 @@ const configs = bundles .map(({ inputs, outputDir, format, minify, preserveModules }) => inputs.map((input) => ({ input, - plugins: plugins(pkg, minify), + plugins: plugins({ pkg, minify }), external: ['vue'], output: { name: packageName, diff --git a/packages/lucide-vue/rollup.config.mjs b/packages/lucide-vue/rollup.config.mjs index ad83bbd4d2..a4fa9da4a0 100644 --- a/packages/lucide-vue/rollup.config.mjs +++ b/packages/lucide-vue/rollup.config.mjs @@ -34,7 +34,7 @@ const configs = bundles .map(({ inputs, outputDir, format, minify, preserveModules }) => inputs.map((input) => ({ input, - plugins: plugins(pkg, minify), + plugins: plugins({ pkg, minify }), external: ['vue'], output: { name: packageName,