laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

Client configurations outdated(vue.config.js) #372 #373

Closed robbykrlos closed 3 years ago

robbykrlos commented 3 years ago
robbykrlos commented 3 years ago

I have another pending PR that fixes the new CopyPlugin new format. Can someone accept this initial one?

raftx24 commented 3 years ago

Hi @robbykrlos I tried to test it but I got this error. also, CI Build has been failed too image

robbykrlos commented 3 years ago

I'll doublecheck this. Seems weird at first...

Thanks.

robbykrlos commented 3 years ago

@raftx24 -i've check my PR submission and apparently there is a problem with the versions we use for copy-webpack-plugin

I used 5.1.2, and the code:

new CopyPlugin({
                patterns: [{
                    from: '../resources/images',
                    to: 'images',
                    force: true,
                }],
            }),

is correct.

If I used your suggested code I get an error stating that patterns is missing.

I also found and read this:

https://github.com/webpack-contrib/copy-webpack-plugin/issues/455

So I guess in the end this change is not needed on your side. Sorry for this PR then.