Skip to content

Commit 5e0e8a4

Browse files
author
Ives van Hoorne
committed
Call new packager as main now
1 parent 80741a6 commit 5e0e8a4

File tree

1 file changed

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

1 file changed

+1
-10
lines changed

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

Lines changed: 1 addition & 10 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/v4';
13-
export const NEW_PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v5';
12+
export const PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v5';
1413

1514
const RETRY_COUNT = 10;
1615

@@ -21,14 +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 new packager to build cache
26-
const url = `${NEW_PACKAGER_URL}/${query}`;
27-
const result = callApi(`${url}/manifest.json`); // eslint-disable-line
28-
} catch (e) {
29-
// nothing yet
30-
}
31-
3223
let retries = 0;
3324

3425
while (true) {

0 commit comments

Comments
 (0)