mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Adopt monaco-plugin-helpers
This commit is contained in:
parent
e5d3880ac4
commit
d75e5fdb8f
6 changed files with 21 additions and 121 deletions
|
|
@ -1,12 +1,12 @@
|
|||
const requirejs = require('requirejs');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const UglifyJS = require("uglify-js");
|
||||
const git = require('./git');
|
||||
const UglifyJS = require('uglify-js');
|
||||
const helpers = require('monaco-plugin-helpers');
|
||||
|
||||
const REPO_ROOT = path.resolve(__dirname, '..');
|
||||
|
||||
const sha1 = git.getGitVersion(REPO_ROOT);
|
||||
const sha1 = helpers.getGitVersion(REPO_ROOT);
|
||||
const semver = require('../package.json').version;
|
||||
const headerVersion = semver + '(' + sha1 + ')';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue