From dd71877080a22d0108eeed1f8088d52e8c540df9 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Wed, 11 Oct 2023 11:56:58 +0800 Subject: [PATCH] Remove babel-loader --- webpack.common.js | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index e67dce0af5..25f5fda2dc 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -59,20 +59,4 @@ module.exports = { 'ace/ace': path.resolve(__dirname, 'build/public/src/modules/ace-editor.js'), }, }, - module: { - rules: [ - { - test: /\.m?js$/, - exclude: /node_modules/, - use: { - loader: 'babel-loader', - options: { - presets: [ - ['@babel/preset-env', { targets: "Chrome >= 77, Safari >= 13.1, iOS >= 13.4" }] - ] - } - } - } - ] - } -}; +}; \ No newline at end of file