Skip to content

Instantly share code, notes, and snippets.

@mav-erick
Created April 3, 2019 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mav-erick/f4027cbfa94b26e9a77d650af000f26b to your computer and use it in GitHub Desktop.
Save mav-erick/f4027cbfa94b26e9a77d650af000f26b to your computer and use it in GitHub Desktop.
AYS build-element.js
const fs = require("fs-extra");
const concat = require("concat");
(async function build() {
const files = [
"./dist/ays/runtime.js",
"./dist/ays/polyfills.js",
"./dist/ays/scripts.js",
"./dist/ays/main.js"
];
await fs.ensureDir("ays");
await concat(files, "ays/elements.js");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment