Skip to content

Commit

Permalink
Post npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
kburtram committed Mar 30, 2018
1 parent 728de5a commit f0b7b86
Show file tree
Hide file tree
Showing 3 changed files with 981 additions and 13 deletions.
5 changes: 5 additions & 0 deletions build/lib/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ function processNlsFiles(opts) {
}
exports.processNlsFiles = processNlsFiles;
var editorProject = 'vscode-editor', workbenchProject = 'vscode-workbench', extensionsProject = 'vscode-extensions', setupProject = 'vscode-setup';
// {{SQL CARBON EDIT}}
var sqlopsProject = 'sqlops-core';
function getResource(sourceFile) {
var resource;
if (/^vs\/platform/.test(sourceFile)) {
Expand Down Expand Up @@ -525,6 +527,9 @@ function getResource(sourceFile) {
else if (/^vs\/workbench/.test(sourceFile)) {
return { name: 'vs/workbench', project: workbenchProject };
}
else if (/^sql/.test(sourceFile)) {
return { name: 'sql', project: sqlopsProject };
}
throw new Error("Could not identify the XLF bundle for " + sourceFile);
}
exports.getResource = getResource;
Expand Down
2 changes: 2 additions & 0 deletions build/lib/optimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ var REPO_ROOT_PATH = path.join(__dirname, '../..');
function log(prefix, message) {
gulpUtil.log(gulpUtil.colors.cyan('[' + prefix + ']'), message);
}
// {{SQL CARBON EDIT}}
function loaderConfig(emptyPaths) {
var result = {
paths: {
'vs': 'out-build/vs',
'sql': 'out-build/sql',
'vscode': 'empty:'
},
nodeModules: emptyPaths || []
Expand Down
Loading

0 comments on commit f0b7b86

Please sign in to comment.