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

245
Views
JS: ¿instalar paquete externo a través de webpack?

Estoy trabajando en una aplicación completamente JS e intento usar una biblioteca externa ( https://github.com/soldair/node-qrcode ). Mi webpack.config.js actual es el siguiente:

 const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const inheritedConfig = require('@main/build-configs/src/webpack') const isProd = process.env.NODE_ENV === 'production'; const currentRoot = path.join(process.cwd()); module.exports = { ...inheritedConfig, entry: { 'entry': './src/index' }, plugins: [ ...inheritedConfig.plugins, new HtmlWebpackPlugin({ title: 'QR Code Generator', template: path.join(currentRoot, '../../packages/shared/html-templates/index.html') }), !isProd && new webpack.HotModuleReplacementPlugin() ].filter(Boolean) };

¿Hay alguna manera de agregar el paquete a través de la configuración de mi paquete web?

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!