Skip to content

Commit

Permalink
build: intersect with es6 module support to match vite
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Aug 27, 2024
1 parent ecbe241 commit ddd7582
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dashboard/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { browserslistToTargets } from 'lightningcss';
import { defineConfig } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';

const targets = browserslistToTargets(browserslist('defaults'));
const targets = browserslistToTargets(
browserslist('defaults and fully supports es6-module'),
);

export default defineConfig({
build: {
Expand Down

0 comments on commit ddd7582

Please sign in to comment.