Skip to content

Commit 0f6cd15

Browse files
committed
build: update rollup config
1 parent e749a34 commit 0f6cd15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import typescript from 'rollup-plugin-typescript2'
21
import commonjs from '@rollup/plugin-commonjs'
32
import external from 'rollup-plugin-peer-deps-external'
43
import resolve from '@rollup/plugin-node-resolve'
4+
import typescript from '@rollup/plugin-typescript'
5+
56
import pkg from './package.json'
7+
68
export default {
79
input: 'src/index.ts',
810
output: [
@@ -23,9 +25,7 @@ export default {
2325
external(),
2426
resolve(),
2527
typescript({
26-
rollupCommonJSResolveHack: true,
2728
exclude: ['**/__tests__/**'],
28-
clean: true,
2929
}),
3030
commonjs({
3131
include: ['node_modules/**'],

0 commit comments

Comments
 (0)