@forsakringskassan/vite-lib-config 3.1.0 → 3.2.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.js CHANGED
@@ -13,5 +13,5 @@ var __copyProps = (to, from, except, desc) => {
13
13
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
14
 
15
15
  // src/index.ts
16
- var src_exports = {};
17
- module.exports = __toCommonJS(src_exports);
16
+ var index_exports = {};
17
+ module.exports = __toCommonJS(index_exports);
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.48.1"
8
+ "packageVersion": "7.49.1"
9
9
  }
10
10
  ]
11
11
  }
@@ -11508,7 +11508,14 @@ function vuePlugin(config) {
11508
11508
  /**
11509
11509
  * Keep whitespaces in contents coming from a slot and displayed in a pre for instance.
11510
11510
  */
11511
- whitespace: "preserve"
11511
+ whitespace: "preserve",
11512
+ /**
11513
+ * Any element starting with `<ce-[...]>` is considered a custom
11514
+ * element (webcomponent).
11515
+ */
11516
+ isCustomElement(tagName) {
11517
+ return tagName.startsWith("ce-");
11518
+ }
11512
11519
  }
11513
11520
  }
11514
11521
  };
@@ -11488,7 +11488,14 @@ function vuePlugin2(config) {
11488
11488
  /**
11489
11489
  * Keep whitespaces in contents coming from a slot and displayed in a pre for instance.
11490
11490
  */
11491
- whitespace: "preserve"
11491
+ whitespace: "preserve",
11492
+ /**
11493
+ * Any element starting with `<ce-[...]>` is considered a custom
11494
+ * element (webcomponent).
11495
+ */
11496
+ isCustomElement(tagName) {
11497
+ return tagName.startsWith("ce-");
11498
+ }
11492
11499
  }
11493
11500
  }
11494
11501
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/vite-lib-config",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "Försäkringskassan toolchain to build libraries with Vite",
5
5
  "keywords": [
6
6
  "vite"
@@ -42,7 +42,7 @@
42
42
  "dist"
43
43
  ],
44
44
  "dependencies": {
45
- "@microsoft/api-extractor": "7.48.1",
45
+ "@microsoft/api-extractor": "7.49.1",
46
46
  "@vue/babel-preset-app": "5.0.8"
47
47
  },
48
48
  "peerDependencies": {