mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Adopt monaco-plugin-helpers
This commit is contained in:
parent
2ad83718b7
commit
a8741f55a9
6 changed files with 13 additions and 113 deletions
|
|
@ -2,11 +2,11 @@ const requirejs = require('requirejs');
|
|||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const UglifyJS = require("uglify-js");
|
||||
const git = require('./git');
|
||||
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