Skip to content

Commit 18dedb2

Browse files
typescript declaration: false
1 parent 2899696 commit 18dedb2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

rollup.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export default [
2727
peerDepsExternal(),
2828
resolve(),
2929
commonjs(),
30-
typescript({ tsconfig: './tsconfig.json' }),
30+
typescript({
31+
tsconfig: './tsconfig.json',
32+
declaration: false,
33+
}),
3134
terser(),
3235
postcss(),
3336
],
@@ -37,6 +40,6 @@ export default [
3740
input: 'src/index.ts',
3841
output: [{ file: packageJson.types }],
3942
plugins: [dts.default()],
40-
external: [/\.css/],
43+
external: [/\.css$/],
4144
},
4245
]

0 commit comments

Comments
 (0)