@kopflos-cms/vite 0.3.2 → 0.3.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @kopflos-cms/vite
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 120a270: Plugin build config would not be forwarded to vite
8
+
3
9
  ## 0.3.2
4
10
 
5
11
  ### Patch Changes
package/index.js CHANGED
@@ -34,6 +34,7 @@ export class VitePlugin {
34
34
  root,
35
35
  outDir,
36
36
  config: vitePlugin.config || vitePlugin.configPath,
37
+ buildConfig: options.config,
37
38
  });
38
39
  }
39
40
  resolveOutDir(env, options) {
package/lib/config.js CHANGED
@@ -24,6 +24,6 @@ export async function prepareConfig({ appRoot, root, entrypoints, outDir, config
24
24
  }
25
25
  userConfig = (await import(config)).default;
26
26
  }
27
- return [defaultConfig, inputConfig, config, userConfig, buildConfig]
27
+ return [defaultConfig, inputConfig, userConfig, buildConfig]
28
28
  .reduce((merged, next) => mergeConfig(merged, next), {});
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopflos-cms/vite",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "author": "Zazuko GmbH",