function warnBuild(w) {
	if (w.filename?.includes('node_modules')) {
		if (isDebugNamespaceEnabled('node-modules-onwarn')) {
			log.debug(buildExtendedLogMessage(w), w.frame, 'node-modules-onwarn');
		}
	} else if (log.warn.enabled) {
		log.warn(buildExtendedLogMessage(w), w.frame);
	}
}
@param {import('svelte/compiler').Warning & {frame?: string}} w