UNPKG

@storm-software/unbuild

Version:

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

25 lines (23 loc) 421 B
import { __require } from "../chunk-3RG5ZIWI.js"; // src/plugins/swc.ts var swcPlugin = (options) => { const { transform } = __require("@swc/core"); return { name: "storm:swc", transform(code, filename) { return transform(code, { filename, jsc: { transform: { react: { runtime: "automatic" } } } }); } }; }; export { swcPlugin };