resolveId(id) {
						if (id == input) return null;
						// hmr client
						if (id === 'wmr' && !isConfigFile) id = '/_wmr.js';
						// bare specifier = npm dep
						else if (rewriteNodeImports && !/^\.?\.?(\/|$)/.test(id)) id = `/@npm/${id}`;
						// relative imports (css)
						else if (/\.css$/.test(id)) id += '.js';
						return { id, external: true, moduleSideEffects: true };
					}
@param {string} input
@param {object} options
@param {string} options.out
@param {boolean} [options.hmr]
@param {boolean} [options.rewriteNodeImports]
@param {import('rollup').ModuleFormat} [options.format]