Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Ezequiel Fabbroni Assum committed Dec 20, 2024
1 parent 3269e91 commit 70f1117
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export default defineConfig({
entry: './eslint.config.js', // Your entry file
name: '@cabify/eslint-config', // Global variable name (for UMD/IIFE)
formats: ['es', 'cjs'], // Output both ESM and CommonJS
fileName: (format) =>
format === 'es' ? 'eslint.config.js' : 'eslint.config.cjs', // Explicit output filenames
},
optimizeDeps: {
esbuildOptions: {
Expand Down

0 comments on commit 70f1117

Please sign in to comment.