How to use the @seagull/libraries.createFileRecursive function in @seagull/libraries

To help you get started, we’ve selected a few @seagull/libraries examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github seagull-js / seagull / packages / build / src / services / bundler / lib / bundler.ts View on Github external
bundle = async () => {
    this.bundlingTimer = process.hrtime()
    const stream = this.bfy.bundle()
    this.addErrorLogging(stream)
    const content = await sts(stream)
    createFileRecursive(this.bundlerType.dstFile, content)
    this.onBundled(process.hrtime(this.bundlingTimer))
  }