webpack.mix.js
const mix = require('laravel-mix');
require('laravel-mix-polyfill');
mix.js('resources/js/dashboard.js', 'public/js').vue()
.postCss('resources/css/app.css', 'public/css')
.postCss('resources/css/lineshop.css', 'public/css')
.postCss('resources/css/ec-date-picker.css', 'public/css')
.polyfill({
enabled: true,
useBuiltIns: 'usage',
targets: 'firefox 50, IE 11',
})
.sourceMaps(false)
.version();
I am not that familiar with setting up babel. Is there anything I can do to fix this with laravel-mix and laravel-mix-polyfill setup?
CodePudding user response:
Upgrading the version of vestjs to ^4.0.0 fixed the issue. But you might encounter issues with the functionalities in IE 11.
For the workaround, I created a temporary validation library that was like the vestjs while waiting for the fix of the plugin.

