@kaoruisaac/pedelec 0.4.1 → 0.4.2

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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.1";
1
+ export declare const SDK_VERSION = "0.4.2";
@@ -1,2 +1,2 @@
1
1
  // Generated from sdk/package.json. Do not edit manually.
2
- export const SDK_VERSION = "0.4.1";
2
+ export const SDK_VERSION = "0.4.2";
package/dist/vite.js CHANGED
@@ -167,6 +167,10 @@ async function bundleRuntime(entry, resolveModule, config) {
167
167
  conditions: config?.resolve.conditions,
168
168
  mainFields: config?.resolve.mainFields,
169
169
  },
170
+ ssr: {
171
+ noExternal: true,
172
+ target: "node",
173
+ },
170
174
  build: {
171
175
  write: false,
172
176
  emptyOutDir: false,
@@ -174,12 +178,8 @@ async function bundleRuntime(entry, resolveModule, config) {
174
178
  target: "esnext",
175
179
  sourcemap: false,
176
180
  cssCodeSplit: false,
177
- lib: {
178
- entry,
179
- formats: ["es"],
180
- fileName: () => "index.mjs",
181
- },
182
- rollupOptions: {
181
+ ssr: true,
182
+ rolldownOptions: {
183
183
  input: entry,
184
184
  output: {
185
185
  format: "es",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaoruisaac/pedelec",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",