Fixed: (UI) Transpile ES6 libs to fix issues on some browsers

This commit is contained in:
Bogdan
2023-01-12 02:48:23 +02:00
committed by Qstick
parent 70685de5d2
commit 5a9d4d6280
3 changed files with 26 additions and 4 deletions

View File

@@ -142,8 +142,8 @@ module.exports = (env) => {
module: {
rules: [
{
test: /\.js?$/,
exclude: /(node_modules|JsLibraries)/,
test: /\.jsx?$/,
exclude: /[\\/]node_modules[\\/](?!(@sentry\/browser|@sentry\/integrations|chart.js|filesize|normalize.css)[\\/])/,
use: [
{
loader: 'babel-loader',