@forsakringskassan/vite-lib-config 6.0.0 → 6.0.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.
@@ -8636,6 +8636,11 @@ function overwriteMerge(_a, b) {
8636
8636
  return b;
8637
8637
  }
8638
8638
  function defineConfig(rootDir2, config = {}) {
8639
+ if (typeof rootDir2 !== "string") {
8640
+ throw new TypeError(
8641
+ `Expected first argument to be a "string", got "${typeof rootDir2}"`
8642
+ );
8643
+ }
8639
8644
  return (0, import_vite2.defineConfig)(({ mode }) => {
8640
8645
  return fkDefineConfig(rootDir2, mode, config);
8641
8646
  });
@@ -8630,6 +8630,11 @@ function overwriteMerge(_a, b) {
8630
8630
  return b;
8631
8631
  }
8632
8632
  function defineConfig(rootDir2, config = {}) {
8633
+ if (typeof rootDir2 !== "string") {
8634
+ throw new TypeError(
8635
+ `Expected first argument to be a "string", got "${typeof rootDir2}"`
8636
+ );
8637
+ }
8633
8638
  return viteDefineConfig(({ mode }) => {
8634
8639
  return fkDefineConfig(rootDir2, mode, config);
8635
8640
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/vite-lib-config",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Försäkringskassan toolchain to build libraries with Vite",
5
5
  "keywords": [
6
6
  "vite"