We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a29525 commit 31778cdCopy full SHA for 31778cd
1 file changed
lib/internal/modules/esm/translators.js
@@ -645,6 +645,7 @@ translators.set('module-typescript', function(url, translateContext, parentURL)
645
646
// Strategy for loading source as text.
647
translators.set('text', function textStrategy(url, translateContext) {
648
+ emitExperimentalWarning('Text import');
649
let { source } = translateContext;
650
assertBufferSource(source, true, 'load');
651
source = stringify(source);
0 commit comments