File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 34
34
},
35
35
"./react" : {
36
36
"types" : " ./dist/react/index.d.ts" ,
37
- "import" : " ./dist/react/redux-toolkit-react.modern.js " ,
37
+ "import" : " ./dist/react/redux-toolkit-react.modern.mjs " ,
38
38
"default" : " ./dist/react/cjs/index.js"
39
39
},
40
40
"./query" : {
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " " ,
5
5
"type" : " module" ,
6
- "module" : " ../dist/react/redux-toolkit-react.modern .js" ,
6
+ "module" : " ../dist/react/redux-toolkit-react.legacy-esm .js" ,
7
7
"main" : " ../dist/react/cjs/index.js" ,
8
8
"types" : " ./../dist/react/index.d.ts" ,
9
9
"exports" : {
10
10
"./package.json" : " ./package.json" ,
11
11
"." : {
12
12
"types" : " ./../dist/react/index.d.ts" ,
13
- "import" : " ./../dist/react/redux-toolkit-react.modern.js " ,
13
+ "import" : " ./../dist/react/redux-toolkit-react.modern.mjs " ,
14
14
"default" : " ./../dist/react/cjs/index.js"
15
15
}
16
16
},
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ const entryPoints: EntryPointOptions[] = [
121
121
folder : 'react/' ,
122
122
entryPoint : 'src/react/index.ts' ,
123
123
extractionConfig : 'api-extractor-react.json' ,
124
+ externals : [ 'redux' , '@reduxjs/toolkit' ] ,
124
125
} ,
125
126
{
126
127
prefix : 'rtk-query' ,
You can’t perform that action at this time.
0 commit comments