requirejs-esm 1.1.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plugin.js CHANGED
@@ -85711,7 +85711,7 @@
85711
85711
  sourceMap
85712
85712
  } = {}) {
85713
85713
  // const ast = parse(text, { ecmaVersion, sourceType: 'module', locations: true })
85714
- let ast = parseModule(text, { loc: true });
85714
+ let ast = parseModule(text, { next: true, loc: true });
85715
85715
 
85716
85716
  const options = { sourceFileName: file, pluginName, resolvePath, originalResolvePath: resolvePath$1 };
85717
85717
  transformModules(ast, options);