UNPKG

@zywave/zui-bundle

Version:

ZUI, out of the box, provides ES modules with bare path modifiers (e.g. `import '@zywave/zui-foo-bar'`). This is great as that's the way browsers are _going_, but they aren't there quite yet. Tooling exists to help solve this problem like webpack or rollu

4 lines (2 loc) 97 B
import { copyFile } from "fs/promises"; await copyFile("dist/bundle.js", "dist/zui-bundle.js");