litestar-vite-plugin 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -108,6 +108,7 @@ function resolveLitestarPlugin(pluginConfig) {
108
108
  server.config,
109
109
  userConfig
110
110
  );
111
+ fs.mkdirSync(path.dirname(pluginConfig.hotFile), { recursive: true });
111
112
  fs.writeFileSync(pluginConfig.hotFile, viteDevServerUrl);
112
113
  setTimeout(() => {
113
114
  server.config.logger.info(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litestar-vite-plugin",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type":"module",
5
5
  "description": "Litestar plugin for Vite.",
6
6
  "keywords": [