UNPKG

@storm-software/unbuild

Version:

A package containing `unbuild` utilities for building Storm Software libraries and applications

28 lines (26 loc) 494 B
import { __name, __require } from "../chunk-3GQAWCBQ.js"; // src/plugins/swc.ts var swcPlugin = /* @__PURE__ */ __name((options) => { const { transform } = __require("@swc/core"); return { name: "storm:swc", transform(code, filename) { return transform(code, { filename, jsc: { transform: { react: { runtime: "automatic" } } } }); } }; }, "swcPlugin"); export { swcPlugin };