Adopt monaco-plugin-helpers

This commit is contained in:
Alex Dima 2018-03-12 12:50:54 +01:00
parent e5d3880ac4
commit d75e5fdb8f
6 changed files with 21 additions and 121 deletions

View file

@ -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 + ')';