Skip to content

Commit

Permalink
Fix Build Script
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed May 11, 2021
1 parent 88dc52e commit 5f179ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
16 changes: 3 additions & 13 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
var __defProp = Object.defineProperty;
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {get: all[name], enumerable: true});
};

// src/wc-markdown.js
__markAsModule(exports);
__export(exports, {
WCMarkdown: () => WCMarkdown
});

// node_modules/prism-es6/prism.js
var _self = {};
var Prism = function() {
Expand Down Expand Up @@ -2535,3 +2522,6 @@ var WCMarkdown = class extends HTMLElement {
}
};
customElements.define("wc-markdown", WCMarkdown);
export {
WCMarkdown
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start": "npx live-server --no-browser --port=5500 --open=dev",
"lint": "esmtk lint",
"build": "npm run build:esm && npm run build:min",
"build:esm": "esmtk commonjs src/wc-markdown.js index.js",
"build:esm": "esmtk bundle src/wc-markdown.js index.js",
"build:min": "esmtk minify src/wc-markdown.js index.min.js",
"copy": "npm run copy:themes && npm run copy:components",
"copy:themes": "cp -r node_modules/prism-es6/themes themes",
Expand Down

0 comments on commit 5f179ee

Please sign in to comment.