From 5b5b1e3234ed7b2299f6ed962494a563e9390aed Mon Sep 17 00:00:00 2001 From: ssi02014 Date: Thu, 16 Jan 2025 04:33:42 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20rollup=20external=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/utils/rollup.config.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/utils/rollup.config.mjs b/packages/utils/rollup.config.mjs index c81b17c2..4a42011e 100644 --- a/packages/utils/rollup.config.mjs +++ b/packages/utils/rollup.config.mjs @@ -2,6 +2,7 @@ import nodeResolve from '@rollup/plugin-node-resolve'; import typescript from '@rollup/plugin-typescript'; import commonjs from '@rollup/plugin-commonjs'; import esbuild from 'rollup-plugin-esbuild'; +import pkg from './package.json' assert { type: 'json' }; import { arrayPathKeys, @@ -56,6 +57,7 @@ export default { entryFileNames: (chunkInfo) => getFormatEntryFileNames(chunkInfo, 'mjs'), }, ], + external: [...Object.keys(pkg.dependencies)], plugins: [ nodeResolve({ extensions,