Skip to content

Commit

Permalink
fix: nextjs file ext complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed Jan 1, 2023
1 parent a9fff0f commit 41c45b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"homepage": "https://virtuoso.dev/",
"license": "MIT",
"source": "src/index.tsx",
"main": "dist/index.js",
"module": "dist/index.m.js",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [
"react",
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

const ext = {
cjs: 'js',
es: 'm.js',
cjs: 'cjs',
es: 'mjs',
}

// https://vitejs.dev/config/
Expand Down

0 comments on commit 41c45b5

Please sign in to comment.