JSPM

  • Created
  • Published
  • Downloads 11855
  • Score
    100M100P100Q150273F
  • License MIT

Package Exports

  • @brillout/vite-plugin-import-build
  • @brillout/vite-plugin-import-build/index.js
  • @brillout/vite-plugin-import-build/loadBuild
  • @brillout/vite-plugin-import-build/loadBuild.js
  • @brillout/vite-plugin-import-build/plugin
  • @brillout/vite-plugin-import-build/plugin.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@brillout/vite-plugin-import-build) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Automatically load the server-side build living at config.build.outDir (e.g. dist/server/).

  • In a way that is statically analyzable. So that bundlers are able to discover the entire dependency tree. (Which is needed for serverless services such as Cloudflare Workers, Vercel, etc.)
  • Supports Yarn PnP.

Do not use for your own project, as it's currently meant to be used only by vite-plugin-ssr and Telefunc.