esbuild-sample: remove dist (#1043)

This commit is contained in:
Martin Aeschlimann
2024-06-03 17:43:36 +02:00
committed by GitHub
parent 7353cc77aa
commit 3b88694f2c
2 changed files with 0 additions and 65 deletions

View File

@ -1,59 +0,0 @@
"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/extension.ts
var extension_exports = {};
__export(extension_exports, {
activate: () => activate,
deactivate: () => deactivate
});
module.exports = __toCommonJS(extension_exports);
var vscode = __toESM(require("vscode"));
// src/math.ts
function add(a, b) {
return a + b;
}
// src/extension.ts
function activate(context) {
console.log('Congratulations, your extension "esbuild-sample" is now active!');
let disposable = vscode.commands.registerCommand("esbuild-sample.helloWorld", () => {
vscode.window.showInformationMessage(`41 + 1 = ${add(41, 1)}`);
});
context.subscriptions.push(disposable);
}
function deactivate() {
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
activate,
deactivate
});
//# sourceMappingURL=extension.js.map

View File

@ -1,6 +0,0 @@
{
"version": 3,
"sources": ["../src/extension.ts", "../src/math.ts"],
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,aAAwB;;;ACCjB,SAAS,IAAI,GAAW,GAAmB;AACjD,SAAO,IAAI;AACZ;;;ADAO,SAAS,SAAS,SAAkC;AAE1D,UAAQ,IAAI,iEAAiE;AAE7E,MAAI,aAAoB,gBAAS,gBAAgB,6BAA6B,MAAM;AACnF,IAAO,cAAO,uBAAuB,YAAY,IAAI,IAAI,CAAC,CAAC,EAAE;AAAA,EAC9D,CAAC;AAED,UAAQ,cAAc,KAAK,UAAU;AACtC;AAEO,SAAS,aAAa;AAAC;",
"names": []
}