nakarte

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

commit d36ec1c275fa03596707624bce2c6e004a29633c
parent de1329f556ba44e718e26fd0a252e3e4da7b7f2b
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat,  7 Dec 2019 12:29:29 +0100

config: do not process node_modules with babel in development env

Diffstat:
Mwebpack/webpack.config.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js @@ -131,10 +131,10 @@ const loaders = [ { test: /\.js$/, - exclude: [ + exclude: isProduction ? [ /node_modules\/core-js/, /node_modules\/webpack/, - ], + ] : /node_modules/, loaders: [ { loader: 'babel-loader',