From 24f946f76fb4ab9019ffdf77a0799db64c6eea40 Mon Sep 17 00:00:00 2001 From: Denis Davidyuk Date: Sat, 5 Jun 2021 12:49:56 +0300 Subject: [PATCH] perf: remove js-yaml that is used for yml swagger files to save size --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 097532608a..a5fd19b12d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,6 +23,9 @@ function configure (filename, opts = {}) { path: require.resolve('path-browserify'), stream: require.resolve('stream-browserify'), crypto: require.resolve('crypto-browserify') + }, + alias: { + 'js-yaml': false } }, plugins: [