Created
April 3, 2019 19:02
-
-
Save mav-erick/f4027cbfa94b26e9a77d650af000f26b to your computer and use it in GitHub Desktop.
AYS build-element.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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