Просмотр исходного кода

Don't minify monaco-editor dev sources

Henning Dieterichs 2 лет назад
Родитель
Сommit
6b1ae1c271
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      website/webpack.config.ts

+ 4 - 0
website/webpack.config.ts

@@ -115,6 +115,8 @@ module.exports = {
 				{
 					from: "./node_modules/monaco-editor/",
 					to: "./node_modules/monaco-editor/",
+					// This disables minification for js files
+					info: { minimized: true },
 				},
 			],
 		}),
@@ -123,6 +125,8 @@ module.exports = {
 				{
 					from: "../node_modules/monaco-editor-core/",
 					to: "./node_modules/monaco-editor-core/",
+					// This disables minification for js files
+					info: { minimized: true },
 				},
 			],
 		}),