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

206
Vistas
laravel webpack.mix with multiple language vue, react

I am getting Invalid configuration error like this

[webpack-cli] Invalid configuration object. Webpack has been 
initialized using a configuration object that does not match the API schema.
 - configuration.entry['/js/app'] should not contain the item 
'project/resources/sass/app.scss' twice.
   -> All modules are loaded upon startup. The last one is exported.

Here is my webpack.mix.js

const mix = require('laravel-mix');

mix.js('resources/js/app.js', 'public/js').vue()
.sass('resources/sass/app.scss', 'public/css')


mix.js('resources/js/app.js', 'public/js').react()
    .sass('resources/sass/app.scss', 'public/css');

I am configuring this first time. so I have no idea what I am doing it wrong. Please help me understand this issue.

Let me know if I need to add more file to understand this problem like package.json

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

you have mix.js('resources/js/app.js' and .sass('resources/sass/app.scss' twice

about 4 years ago · Santiago Trujillo 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