mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
create dist folders in build script
This commit is contained in:
parent
42825f4798
commit
33575c0856
@ -60,6 +60,12 @@ function build(builds) {
|
||||
let built = 0
|
||||
const total = builds.length
|
||||
const next = () => {
|
||||
const distPath = path.dirname(builds[built].output.file)
|
||||
|
||||
if (!fs.existsSync(distPath)) {
|
||||
fs.mkdirSync(distPath)
|
||||
}
|
||||
|
||||
buildEntry(builds[built]).then(() => {
|
||||
built++
|
||||
if (built < total) {
|
||||
|
Loading…
Reference in New Issue
Block a user