Skip to content

Commit

Permalink
chore: rollup external 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ssi02014 committed Jan 15, 2025
1 parent 4e59544 commit 5b5b1e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/utils/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -56,6 +57,7 @@ export default {
entryFileNames: (chunkInfo) => getFormatEntryFileNames(chunkInfo, 'mjs'),
},
],
external: [...Object.keys(pkg.dependencies)],
plugins: [
nodeResolve({
extensions,
Expand Down

0 comments on commit 5b5b1e3

Please sign in to comment.