Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

319
Views
Webpack no puede resolver datos: importación de texto

Mi aplicación usa una biblioteca de terceros que tiene la sintaxis:

 const module = await import(`data:text/javascript;charset=utf-8,${content}`);

Mientras construyo a través de Webpack, recibo el siguiente error:

 ERROR in ./node_modules/@web/test-runner-commands/browser/commands.mjs Module not found: Error: Can't resolve 'data:text' in 'C:\path_to_project\node_modules\@web\test-runner-commands\browser'

Intenté usar babel-loader en mi configuración de Webpack:

 module: { rules: [ { test: /\.m?js$/, include: [ path.resolve(workingDirectory, 'node_modules/@web') ], use: 'babel-loader' } ] }

Necesito ayuda para averiguar qué cargador podría interpretar la expresión.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!