mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Upgrade dependencies
This commit is contained in:
parent
b4d1a1e6b2
commit
19ec8cd768
5 changed files with 71 additions and 44 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const requirejs = require('requirejs');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const UglifyJS = require("uglify-js");
|
||||
const Terser = require("terser");
|
||||
const helpers = require('monaco-plugin-helpers');
|
||||
|
||||
const REPO_ROOT = path.resolve(__dirname, '..');
|
||||
|
|
@ -61,7 +61,7 @@ function bundleOne(moduleId, exclude) {
|
|||
const fileContents = fs.readFileSync(devFilePath).toString();
|
||||
console.log();
|
||||
console.log(`Minifying ${devFilePath}...`);
|
||||
const result = UglifyJS.minify(fileContents, {
|
||||
const result = Terser.minify(fileContents, {
|
||||
output: {
|
||||
comments: 'some'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue