// Webpack loader. CommonJS entry (webpack requires loaders synchronously)// that hands off to the ESM core via the async loader API. Works in Next.js// through next.config webpack(config) — see examples/27-nextjs.module.exports = function tsusLoader(source) { const callback = this.async(); import("./core.js") .then(({ transformSource }) => { callback(null, transformSource(source, this.resourcePath)); }) .catch(callback);};