litestar-vite-plugin 0.3.0 → 0.3.1
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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -268,7 +268,7 @@ function resolvePluginConfig(config) {
|
|
|
268
268
|
input: config.input,
|
|
269
269
|
assetUrl: config.assetUrl || (config.assetUrl ?? "static"),
|
|
270
270
|
resourceDirectory: config.resourceDirectory ?? "/resources/",
|
|
271
|
-
assetDirectory: config.assetDirectory ?? "assets",
|
|
271
|
+
assetDirectory: config.assetDirectory ?? import_path.default.join(config.resourceDirectory ?? "/resources/", "assets"),
|
|
272
272
|
bundleDirectory: config.bundleDirectory || (config.bundleDirectory ?? "public"),
|
|
273
273
|
ssr: config.ssr ?? config.input,
|
|
274
274
|
ssrOutputDirectory: config.ssrOutputDirectory ?? import_path.default.join(config.resourceDirectory ?? "resources", "bootstrap/ssr"),
|
package/dist/index.mjs
CHANGED
|
@@ -239,7 +239,7 @@ function resolvePluginConfig(config) {
|
|
|
239
239
|
input: config.input,
|
|
240
240
|
assetUrl: config.assetUrl || (config.assetUrl ?? "static"),
|
|
241
241
|
resourceDirectory: config.resourceDirectory ?? "/resources/",
|
|
242
|
-
assetDirectory: config.assetDirectory ?? "assets",
|
|
242
|
+
assetDirectory: config.assetDirectory ?? path.join(config.resourceDirectory ?? "/resources/", "assets"),
|
|
243
243
|
bundleDirectory: config.bundleDirectory || (config.bundleDirectory ?? "public"),
|
|
244
244
|
ssr: config.ssr ?? config.input,
|
|
245
245
|
ssrOutputDirectory: config.ssrOutputDirectory ?? path.join(config.resourceDirectory ?? "resources", "bootstrap/ssr"),
|