nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 09ab10357b9c35c4408e4bfb736712239ef13194
parent 7575a677cf8ba60030c48faeddc82993a2bc627a
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Wed, 23 Jun 2021 02:14:35 +0200

disable new Webpack 5 behavior autodetecting module type by package.json

Webpack 5 started to treat image-promise as ESM module which resulted in
non-processing of require() expressions inserted by Babel.

Diffstat:
Mwebpack/webpack.config.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js @@ -169,6 +169,7 @@ const loaders = [ options: babelConfig, }, ], + type: 'javascript/auto', }, {