We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26f2f7 commit 06afc0dCopy full SHA for 06afc0d
rollup.config.js
@@ -15,28 +15,28 @@ export default [
15
{
16
file: packageJson.main,
17
format: 'cjs',
18
- sourcemap: true
+ sourcemap: true,
19
},
20
21
file: packageJson.module,
22
format: 'esm',
23
24
- }
+ },
25
],
26
plugins: [
27
peerDepsExternal(),
28
resolve(),
29
commonjs(),
30
typescript({ tsconfig: './tsconfig.json' }),
31
terser(),
32
- postcss()
+ postcss(),
33
34
- external: ['react', 'react-dom']
+ external: ['react', 'react-dom'],
35
36
37
input: 'src/index.ts',
38
output: [{ file: packageJson.types }],
39
plugins: [dts.default()],
40
- external: [/\.css/]
41
42
-]
+ external: [/\.css/],
+]
0 commit comments