Skip to content

Commit ec9b4f4

Browse files
author
Ives van Hoorne
committed
Set default packager to v4
1 parent 3d2f5ef commit ec9b4f4

File tree

1 file changed

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

1 file changed

+1
-9
lines changed

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

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

1514
const RETRY_COUNT = 10;
1615

@@ -21,13 +20,6 @@ const RETRY_COUNT = 10;
2120
* @param {string} query The dependencies to call
2221
*/
2322
async function requestPackager(query: string) {
24-
// Also call new packager to build cache
25-
try {
26-
callApi(`${NEW_PACKAGER_URL}/${query}/manifest.json`);
27-
} catch (e) {
28-
console.error(e);
29-
}
30-
3123
let retries = 0;
3224

3325
while (true) {

0 commit comments

Comments
 (0)