Skip to content

Commit 915c229

Browse files
committed
refactor: Removed comments
1 parent 0e3ef70 commit 915c229

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

rollup.config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ import typescript from '@rollup/plugin-typescript';
44
import { terser } from 'rollup-plugin-terser';
55

66
export default {
7-
input: 'src/index.ts', // Entry point of your library
7+
input: 'src/index.ts',
88
output: [
99
{
1010
file: 'dist/bundle.cjs.js',
11-
format: 'cjs', // CommonJS format for Node.js
11+
format: 'cjs',
1212
sourcemap: true,
1313
},
1414
{
1515
file: 'dist/bundle.esm.js',
16-
format: 'esm', // ES module format for modern browsers
16+
format: 'esm',
1717
sourcemap: true,
1818
},
1919
],
2020
plugins: [
21-
resolve(), // Resolves node_modules
22-
commonjs(), // Converts CommonJS to ES6
23-
typescript(), // Compiles TypeScript
24-
terser(), // Minifies the bundle
21+
resolve(),
22+
commonjs(),
23+
typescript(),
24+
terser(),
2525
],
26-
external: ['node-fetch'], // Exclude node-fetch from the bundle
26+
external: ['node-fetch'],
2727
};

0 commit comments

Comments
 (0)