Laravel Mix Build как UMD

mix.js('src/main.js', 'dist/libraryName.js')

mix.webpackConfig({
  output: {
    library: 'libraryName',
    libraryTarget: 'umd',
    umdNamedDefine: true
  }
})
.titanic { float: none };