Skip to content

Commit

Permalink
fix: solves react-scripts 4 loader error
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed Apr 11, 2023
1 parent ad2baee commit b40f11c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default defineConfig({
}),
],
build: {
target: ['es2020', 'edge88', 'firefox78', 'chrome79', 'safari14'],
minify: 'terser',
lib: {
entry: ['src/index.tsx'],
Expand Down

0 comments on commit b40f11c

Please sign in to comment.