2,930 karma · joined April 28, 2013
// ---- dev-ts-resolve.js
export async function resolve(specifier, context, nextResolve) {
try {
return await nextResolve(specifier, context);
} catch (err) {
const isRelative = specifier.startsWith('./')
|| specifier.startsWith('../')
|| specifier.startsWith('/')
|| specifier.startsWith('file:');
if (err?.code === 'ERR_MODULE_NOT_FOUND' && isRelative && specifier.endsWith('.js')) {
return nextResolve(`${specifier.slice(0, -3)}.ts`, context);
}
throw err;
}
}
// ---- dev-loader.js
import { register } from 'node:module';
register('./dev-ts-resolve.js', import.meta.url);
// ----
usage: node --import ./dev-loader.js --watch-path=./srcThis way I could just use node --watch instead of tsx or nodemon.
The "Abundist" movement is already dead.
[1]: https://www.timesofisrael.com/poll-71-of-israelis-dont-trust...
I think you mean unbelievably expensive and takes an eternity to build outside of China and Korea.
1. Israel is doing this in an outsized way compared to everyone else
2. Israel is extremely poor at doing it because it keeps getting caught
3. All the reporting is controlled by the antisemitic media conglomerates ruled by a shadowy council funded by Qatari money
I expect you to deny 1, 2 is an impossibility to you, 3 is the most likely I'd hear even though it's highly reminiscent of something...
Looking forward to option 4. I hope it's something more original than shouting "blood libel!".
Also Jobs: fires the antenna designer
It behooves everyone to stop equating antizionism with antisemitism, because doing that actually breeds the latter.
Who? Other than strawmen, I mean.