mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-19 04:19:22 +01:00
chore(dependencies): Update dependencies (#3809)
* update deps * Remove ignoredBuiltDependencies * Fix build errors * try this * update config * add coma * Try this * Revert import change * try this * add wasm import * Load wasm * try this * Revert nitro version change * Revert nitro config change
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { visualizer } from 'rollup-plugin-visualizer';
|
||||
import bundleSize from '@atomico/rollup-plugin-sizes';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
import license from 'rollup-plugin-license';
|
||||
import esbuild from 'rollup-plugin-esbuild';
|
||||
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
||||
import summary from 'rollup-plugin-summary';
|
||||
|
||||
const plugins = ({ pkg, minify = false, withEsbuild = true, esbuildOptions = {} }) =>
|
||||
const plugins = ({
|
||||
pkg,
|
||||
minify = false,
|
||||
withEsbuild = true,
|
||||
esbuildOptions = {},
|
||||
withSummary = false,
|
||||
}) =>
|
||||
[
|
||||
withEsbuild
|
||||
? esbuild({
|
||||
@@ -24,13 +30,13 @@ const plugins = ({ pkg, minify = false, withEsbuild = true, esbuildOptions = {}
|
||||
This source code is licensed under the ${pkg.license} license.
|
||||
See the LICENSE file in the root directory of this source tree.`,
|
||||
}),
|
||||
bundleSize(),
|
||||
withSummary ? summary() : null,
|
||||
visualizer({
|
||||
sourcemap: true,
|
||||
filename: `stats/${pkg.name}${minify ? '-min' : ''}.html`,
|
||||
}),
|
||||
].filter(Boolean);
|
||||
|
||||
export { bundleSize, license, visualizer, replace };
|
||||
export { license, visualizer, replace };
|
||||
|
||||
export default plugins;
|
||||
|
||||
Reference in New Issue
Block a user