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

204
Views
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 answers
Answer question

0

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

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