@skyvexsoftware/stratos-sdk 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,6 @@
17
17
  */
18
18
  import * as fs from "fs";
19
19
  import * as path from "path";
20
- import react from "@vitejs/plugin-react";
21
20
  import { UI_EXTERNALS } from "./externals.js";
22
21
  import { serveExternals } from "./serve-externals.js";
23
22
  import { stratosDevServer } from "./stratos-dev-server.js";
@@ -173,7 +172,6 @@ function createUIConfig(pluginDir, entry) {
173
172
  return {
174
173
  root: pluginDir,
175
174
  plugins: [
176
- { ...react(), apply: "serve" },
177
175
  serveExternals(),
178
176
  stratosDevServer({ pluginDir }),
179
177
  stratosExternals(),
@@ -188,6 +186,14 @@ function createUIConfig(pluginDir, entry) {
188
186
  ],
189
187
  },
190
188
  },
189
+ optimizeDeps: {
190
+ exclude: [
191
+ ...UI_EXTERNALS,
192
+ "react/jsx-runtime",
193
+ "react/jsx-dev-runtime",
194
+ "react-dom/client",
195
+ ],
196
+ },
191
197
  build: {
192
198
  outDir: path.resolve(pluginDir, "dist/ui"),
193
199
  emptyOutDir: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Plugin SDK for Stratos — types, hooks, and UI components",
5
5
  "author": {
6
6
  "name": "Skyvex Software",