webpack-contrib / file-loader

File Loader
MIT License
1.86k stars 255 forks source link

Breaking change desc in 5.0.0 can be improved #390

Closed tomaszs closed 3 years ago

tomaszs commented 3 years ago

Currently it states:

https://github.com/webpack-contrib/file-loader/releases/tag/v5.0.0

switch to ES modules by default (the option esModule is true by default)

While restoring previous behaviour is described in the source code. Above description could be changed to:

switch from CommonJS to ES modules. You can go back to CommonJS with:

options: {
              esModule: false
            },
alexander-akait commented 3 years ago

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.

Please help us help you by recreating the issue using one of our templates.