Using got to hit the Vue endpoint on UNPKG fails silently.
For it to not silently fail.
const got = require('got');
got('https://unpkg.com/[email protected]/dist/vue.js', {
cache: new Map(), // Removing this fixes it
}).then(console.log);
Interestingly, other endpoints work fine:
got('https://unpkg.com/react', {
cache: new Map(),
}).then(console.log);
Will be using v10.7.0 for now.
Will be using v10.7.0 for now.
Are you saying that it works as expected on 10.7.0?
Yep
Found the bug
Thanks @szmarczak !!
Most helpful comment
Found the bug