@@ -26,13 +26,7 @@ module.exports = function rollup() {
2626 sourcemap : ! PRETTY ,
2727 banner : createBanner ( "React Router DOM" , version ) ,
2828 } ,
29- external : [
30- "history" ,
31- "react" ,
32- "react-dom" ,
33- "react-router" ,
34- "@remix-run/router" ,
35- ] ,
29+ external : [ "react" , "react-dom" , "react-router" , "@remix-run/router" ] ,
3630 plugins : [
3731 extensions ( { extensions : [ ".ts" , ".tsx" ] } ) ,
3832 babel ( {
@@ -73,7 +67,7 @@ module.exports = function rollup() {
7367 sourcemap : ! PRETTY ,
7468 banner : createBanner ( "React Router DOM" , version ) ,
7569 } ,
76- external : [ "history" , " react", "react-router" , "@remix-run/router" ] ,
70+ external : [ "react" , "react-router" , "@remix-run/router" ] ,
7771 plugins : [
7872 extensions ( { extensions : [ ".ts" , ".tsx" ] } ) ,
7973 babel ( {
@@ -101,7 +95,7 @@ module.exports = function rollup() {
10195 sourcemap : ! PRETTY ,
10296 banner : createBanner ( "React Router DOM" , version ) ,
10397 } ,
104- external : [ "history" , " react", "react-router" , "@remix-run/router" ] ,
98+ external : [ "react" , "react-router" , "@remix-run/router" ] ,
10599 plugins : [
106100 extensions ( { extensions : [ ".ts" , ".tsx" ] } ) ,
107101 babel ( {
@@ -147,14 +141,13 @@ module.exports = function rollup() {
147141 sourcemap : ! PRETTY ,
148142 banner : createBanner ( "React Router DOM" , version ) ,
149143 globals : {
150- history : "HistoryLibrary" ,
151- "@remix-run/router" : "Router" ,
144+ "@remix-run/router" : "RemixRouter" ,
152145 react : "React" ,
153146 "react-router" : "ReactRouter" ,
154147 } ,
155148 name : "ReactRouterDOM" ,
156149 } ,
157- external : [ "history" , " react", "react-router" , "@remix-run/router" ] ,
150+ external : [ "react" , "react-router" , "@remix-run/router" ] ,
158151 plugins : [
159152 extensions ( { extensions : [ ".ts" , ".tsx" ] } ) ,
160153 babel ( {
@@ -182,14 +175,13 @@ module.exports = function rollup() {
182175 sourcemap : ! PRETTY ,
183176 banner : createBanner ( "React Router DOM" , version ) ,
184177 globals : {
185- history : "HistoryLibrary" ,
186- "@remix-run/router" : "Router" ,
178+ "@remix-run/router" : "RemixRouter" ,
187179 react : "React" ,
188180 "react-router" : "ReactRouter" ,
189181 } ,
190182 name : "ReactRouterDOM" ,
191183 } ,
192- external : [ "history" , " react", "react-router" , "@remix-run/router" ] ,
184+ external : [ "react" , "react-router" , "@remix-run/router" ] ,
193185 plugins : [
194186 extensions ( { extensions : [ ".ts" , ".tsx" ] } ) ,
195187 babel ( {
@@ -240,7 +232,6 @@ module.exports = function rollup() {
240232 ] ,
241233 external : [
242234 "url" ,
243- "history" ,
244235 "react" ,
245236 "react-dom/server" ,
246237 "react-router-dom" ,
@@ -284,7 +275,6 @@ module.exports = function rollup() {
284275 ] ,
285276 external : [
286277 "url" ,
287- "history" ,
288278 "react" ,
289279 "react-dom/server" ,
290280 "react-router-dom" ,
0 commit comments