Skip to content

Commit

Permalink
chore(rollup): add defineConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Feb 20, 2024
1 parent 30d640f commit 6ec0acc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { defineConfig } from 'rollup';
import { minify } from 'rollup-plugin-esbuild';

export default {
export default defineConfig({
plugins: [minify()],
input: 'src/index.js',
output: {
file: 'dist/index.js',
format: 'es',
},
};
});

0 comments on commit 6ec0acc

Please sign in to comment.