Skip to content

Commit 3e13423

Browse files
author
Ives van Hoorne
committed
Move main packager to v6
1 parent cc8f4b7 commit 3e13423

File tree

1 file changed

+1
-11
lines changed
  • src/app/store/entities/sandboxes/bundler

1 file changed

+1
-11
lines changed

src/app/store/entities/sandboxes/bundler/index.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import logError from '../../../../utils/error';
99

1010
const debug = _debug('cs:app:packager');
1111

12-
export const PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v5';
13-
export const NEW_PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v6';
12+
export const PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v6';
1413

1514
const RETRY_COUNT = 10;
1615

@@ -21,15 +20,6 @@ const RETRY_COUNT = 10;
2120
* @param {string} query The dependencies to call
2221
*/
2322
async function requestPackager(query: string) {
24-
try {
25-
// Call the new packager at the same time, so we can build up a cache
26-
// before completely moving over
27-
const url = `${NEW_PACKAGER_URL}/${query}`;
28-
callApi(`${url}/manifest.json`);
29-
} catch (e) {
30-
logError(e);
31-
}
32-
3323
let retries = 0;
3424

3525
while (true) {

0 commit comments

Comments
 (0)