let mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel application. By default, we are compiling the Sass | file for your application, as well as bundling up your JS files. | */ mix.config.resourceRoot = '..'; mix.options({ hmrOptions: { host: 'dpsgkoeln.test', port: 8080 } }) mix.js('src/main.js', 'js/responsiveimage.build.js') .postCss('css/main.css', 'css/responsiveimage.build.css', [ require('postcss-nested') ]) .sourceMaps();