It's 2024. You should use tsup instead of this.
π₯ Blazing fast builds
π CommonJS bundle
π² .mjs
bundle
β¨ .d.ts
bundle + type-checking
import fs from "fs"; | |
import { defineConfig } from "vite"; | |
export default defineConfig({ | |
plugins: [ | |
{ | |
name: "isolation", | |
configureServer(server) { | |
server.middlewares.use((_req, res, next) => { | |
res.setHeader("Cross-Origin-Opener-Policy", "same-origin"); | |
res.setHeader("Cross-Origin-Embedder-Policy", "require-corp"); |
It's 2024. You should use tsup instead of this.
π₯ Blazing fast builds
π CommonJS bundle
π² .mjs
bundle
β¨ .d.ts
bundle + type-checking
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |