Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect legacy-esm target #4284

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@
"35": "Existing Redux context detected. If you already have a store set up, please use the traditional Redux setup.",
"36": "When using custom hooks for context, all hooks need to be provided: .\\nHook was either not provided or not a function.",
"37": "Warning: Middleware for RTK-Query API at reducerPath \"\" has not been added to the store.\n You must add the middleware for RTK-Query to function correctly!",
"38": "Cannot refetch a query that has not been started yet."
}
"38": "Cannot refetch a query that has not been started yet.",
"39": "called \\`injectEndpoints\\` to override already-existing endpointName without specifying \\`overrideExisting: true\\`"
}
2 changes: 1 addition & 1 deletion packages/toolkit/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const buildTargets: BuildOptions[] = [
{
format: 'esm',
name: 'legacy-esm',
target: 'esnext',
target: 'es2017',
minify: false,
env: '',
},
Expand Down