• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import {createRequire} from '../../common/index.mjs';
2
3const require = createRequire(import.meta.url);
4const dep = require('./loader-dep.js');
5
6export async function resolve(specifier, { parentURL, importAttributes }, defaultResolve) {
7  return {
8    url: (await defaultResolve(specifier, { parentURL, importAttributes }, defaultResolve)).url,
9    format: dep.format
10  };
11}
12