futwebapp-tampermonkey icon indicating copy to clipboard operation
futwebapp-tampermonkey copied to clipboard

Upgrade Webpack to latest version

Open Mardaneus86 opened this issue 4 years ago • 7 comments

The upgrade to webpack v4 seems to break the way the BannerPlugin is working. The header comments are necessary for the production build.

Originally posted by @Mardaneus86 in https://github.com/Mardaneus86/futwebapp-tampermonkey/pull/226#r499487488

Mardaneus86 avatar Oct 05 '20 10:10 Mardaneus86

When i upgrade to v4 i do see the banners when configuring it as follows:

new webpack.BannerPlugin({ 
      banner: header,
      raw: false, 
      entryOnly: true 
    }),

In this case the banner won't be wrapped in a comment and therefore wont be obfuscated.

eimarfandino avatar Oct 05 '20 11:10 eimarfandino

Let's release for FIFA 21 first, then review how we can get this working and remove the default obfuscation in webpack v4 since it isn't necessary for this project.

Mardaneus86 avatar Oct 05 '20 12:10 Mardaneus86

Sure!

eimarfandino avatar Oct 05 '20 13:10 eimarfandino

but for sniping should i use the old script?

totti240282 avatar Oct 05 '20 13:10 totti240282

use the latest release @totti240282 , thanks

eimarfandino avatar Oct 06 '20 11:10 eimarfandino

sorry but I don't see the menu to snipe

totti240282 avatar Oct 06 '20 14:10 totti240282

This is a technical issue for the developers, has nothing to do with functionality so you won't notice this.

Then again: There will never be features in this script for sniping or any other means that might be considered cheating by the FIFA community.

Mardaneus86 avatar Oct 06 '20 14:10 Mardaneus86