Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

874
Vistas
vuejs - Source code still visible even in production

This code is actually in production mode, all of the variables/functions are visible.

code in production mode

I'm going to add firebase functionality so I have to include credentials for that too. What am I doing wrong? How can I hide or at least uglify so that it would be harder for people to understand?

My vue.config.js file:

module.exports = {
  devServer: {
    devtool: '',
    productionSourceMap: false,
    cssSourceMap: false,
  },
  ...
}
  • Built it with npm run build
  • Using Vue 3 vue-cli
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can integrate protection tools into Vue's build process to ensure that your JavaScript code is always protected in production against reverse engineering or tampering. One of these tools is Jscrambler's CI, you can check out their tutorial here.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda