Sage 10 - How to Update webpack.mix.js with your local dev URL?

Hi folks,

At the risk of asking a stupid question, how exactly do you “Update webpack.mix.js with your local dev URL”?

I’ve got webpack.mix.js open, what should I be adding or changing, whats the syntax and where in the file does it go?

A little direction would be appreciated!

Hi @ralphonz,

mix
  .setPublicPath('./dist')
  .browserSync('your-local-dev-url.test');
mix
  .setPublicPath('./public')
  .browserSync('your-local-dev-url.test');

This topic was automatically closed after 42 days. New replies are no longer allowed.