DemosJarco
03/10/2023, 7:18 PMSkye
03/10/2023, 7:19 PMSkye
03/10/2023, 7:19 PMSkye
03/10/2023, 7:19 PMSkye
03/10/2023, 7:19 PMDemosJarco
03/10/2023, 7:20 PMlocal: false
and is the one that hangsDemosJarco
03/10/2023, 7:21 PMDemosJarco
03/10/2023, 7:24 PMDemosJarco
03/10/2023, 7:26 PMlocal: true
the test exits instantlyDemosJarco
03/10/2023, 7:26 PMts
worker = await unstable_dev('src/index.ts', { local: false, experimental: { disableExperimentalWarning: true } });
vs
ts
worker = await unstable_dev('src/index.ts', { local: true, experimental: { forceLocal: true, disableExperimentalWarning: true } });
dave
03/10/2023, 7:29 PMJavaScriptRewriter
, is this the proper way of fetching plaintext?
typescript
fetch('https://example.com/x.js',
{
method: 'GET',
headers: {
'Accept-Encoding': 'identity'
}
}
);
Skye
03/10/2023, 7:33 PMSkye
03/10/2023, 7:34 PMjohtso
03/10/2023, 9:02 PMkian
03/10/2023, 9:04 PMjohtso
03/10/2023, 10:15 PMkian
03/10/2023, 10:16 PM[vars]
?johtso
03/10/2023, 10:18 PMjohtso
03/10/2023, 10:19 PMjohtso
03/10/2023, 10:20 PM.dev.vars
instead of putting it in wrangler.dev.toml
?johtso
03/10/2023, 10:21 PMenv
right?johtso
03/10/2023, 11:28 PMHardAtWork
03/10/2023, 11:30 PMHardAtWork
03/10/2023, 11:30 PMjohtso
03/10/2023, 11:30 PMglobalThis
in my fetch function that should be fine right?johtso
03/10/2023, 11:31 PMjohtso
03/10/2023, 11:32 PMjohtso
03/10/2023, 11:32 PMHardAtWork
03/10/2023, 11:32 PMjohtso
03/10/2023, 11:34 PM