Skip to content

Commit

Permalink
Merge pull request #4284 from reduxjs/bugfix/rtk2-legacy-esm-config
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Mar 21, 2024
2 parents 128ce81 + c9110af commit 41ae39d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit 41ae39d

Please sign in to comment.