@live-change/frontend-base 0.9.102 → 0.9.104

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.
Files changed (2) hide show
  1. package/package.json +18 -18
  2. package/vite-config.js +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-base",
3
- "version": "0.9.102",
3
+ "version": "0.9.104",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -35,21 +35,21 @@
35
35
  "@lezer/rust": "=1.0.1",
36
36
  "@lezer/sass": "=1.0.3",
37
37
  "@lezer/xml": "=1.0.2",
38
- "@live-change/cli": "^0.9.102",
39
- "@live-change/dao": "^0.9.102",
40
- "@live-change/dao-message": "^0.9.102",
41
- "@live-change/dao-sockjs": "^0.9.102",
42
- "@live-change/dao-vue3": "^0.9.102",
43
- "@live-change/dao-websocket": "^0.9.102",
44
- "@live-change/email-service": "^0.9.102",
45
- "@live-change/password-authentication-service": "^0.9.102",
46
- "@live-change/secret-code-service": "^0.9.102",
47
- "@live-change/secret-link-service": "^0.9.102",
48
- "@live-change/security-frontend": "^0.9.102",
49
- "@live-change/session-service": "^0.9.102",
50
- "@live-change/user-service": "^0.9.102",
51
- "@live-change/vue3-components": "^0.9.102",
52
- "@live-change/vue3-ssr": "^0.9.102",
38
+ "@live-change/cli": "^0.9.104",
39
+ "@live-change/dao": "^0.9.104",
40
+ "@live-change/dao-message": "^0.9.104",
41
+ "@live-change/dao-sockjs": "^0.9.104",
42
+ "@live-change/dao-vue3": "^0.9.104",
43
+ "@live-change/dao-websocket": "^0.9.104",
44
+ "@live-change/email-service": "^0.9.104",
45
+ "@live-change/password-authentication-service": "^0.9.104",
46
+ "@live-change/secret-code-service": "^0.9.104",
47
+ "@live-change/secret-link-service": "^0.9.104",
48
+ "@live-change/security-frontend": "^0.9.104",
49
+ "@live-change/session-service": "^0.9.104",
50
+ "@live-change/user-service": "^0.9.104",
51
+ "@live-change/vue3-components": "^0.9.104",
52
+ "@live-change/vue3-ssr": "^0.9.104",
53
53
  "@primevue/themes": "^4.3.3",
54
54
  "@tailwindcss/node": "4.1.0",
55
55
  "@tailwindcss/oxide": "4.1.0",
@@ -106,7 +106,7 @@
106
106
  "vue3-scroll-border": "0.1.7"
107
107
  },
108
108
  "devDependencies": {
109
- "@live-change/codeceptjs-helper": "^0.9.102",
109
+ "@live-change/codeceptjs-helper": "^0.9.104",
110
110
  "codeceptjs": "^3.6.10",
111
111
  "generate-password": "1.7.1",
112
112
  "playwright": "1.49.1",
@@ -121,5 +121,5 @@
121
121
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
122
122
  "license": "BSD-3-Clause",
123
123
  "description": "",
124
- "gitHead": "f6ae0458039c44025c609e2427e9c61bc4c4c7ec"
124
+ "gitHead": "6ee5d4a7d713cf488c79584381cb42adeb235c6d"
125
125
  }
package/vite-config.js CHANGED
@@ -48,7 +48,7 @@ const ssrTransformCustomDir = () => {
48
48
 
49
49
  let version = process.env.VERSION ?? 'unknown'
50
50
 
51
- export default async ({ command, mode, version }, options = {
51
+ export default async ({ command, mode, version, isSsrBuild, isPreview }, options = {
52
52
  ssrDisabledDirectives: ['ripple', 'styleclass', 'badge', 'shared-element', 'lazy']
53
53
  }) => {
54
54
  //console.log("VITE CONFIG", command, mode, process.argv)
@@ -180,6 +180,14 @@ export default async ({ command, mode, version }, options = {
180
180
  /node_modules/
181
181
  ]
182
182
  },
183
+ rollupOptions: {
184
+ ...(isSsrBuild ? {
185
+ output: {
186
+ inlineDynamicImports: true,
187
+ manualChunks: undefined, // disable dynamic splitting
188
+ }
189
+ } : {})
190
+ }
183
191
  },
184
192
  ssr: {
185
193
  external: [