Skip to content

Commit 6dd2e00

Browse files
committed
fix: exlcude tween-functions from bundle
1 parent dad1411 commit 6dd2e00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rollup.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ import { RollupOptions } from 'rollup'
33
import dts from 'rollup-plugin-dts'
44

55
const input = 'src/index.ts'
6-
const external = ['react', 'react-dom', 'react/jsx-runtime']
6+
const external = ['react', 'react-dom', 'react/jsx-runtime', 'tween-functions']
77
const globals = {
88
react: 'React',
99
'react-dom': 'ReactDOM',
1010
'react/jsx-runtime': 'jsxRuntime',
11+
'tween-functions': 'tweenFunctions',
1112
}
1213

1314
const config: RollupOptions[] = [

0 commit comments

Comments
 (0)