abckit 0.0.49 → 0.0.50
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.
- package/dist/module.mjs +8 -1
- package/package.json +1 -1
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addTypeTemplate, addServerScanDir, addRouteMiddleware, defineNuxtModule, createResolver } from '@nuxt/kit';
|
|
1
|
+
import { updateRuntimeConfig, addTypeTemplate, addServerScanDir, addRouteMiddleware, defineNuxtModule, createResolver } from '@nuxt/kit';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { networkInterfaces } from 'node:os';
|
|
@@ -181,6 +181,13 @@ async function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
|
|
|
181
181
|
redis: options.modules?.redis ?? false,
|
|
182
182
|
disk: options.modules?.disk ?? false
|
|
183
183
|
});
|
|
184
|
+
await updateRuntimeConfig({
|
|
185
|
+
modules: {
|
|
186
|
+
s3: options.modules?.s3 ?? false,
|
|
187
|
+
redis: options.modules?.redis ?? false,
|
|
188
|
+
disk: options.modules?.disk ?? false
|
|
189
|
+
}
|
|
190
|
+
});
|
|
184
191
|
nuxt.options.runtimeConfig.public = defu(nuxt.options.runtimeConfig.public, {
|
|
185
192
|
siteUrl: isMobileBuild ? mobileBaseURL : "http://localhost:3000",
|
|
186
193
|
isMobile: isMobileBuild,
|