@localnerve/web-component-build 3.4.0-rc.2 → 3.4.0-rc.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/index.js +1 -1
- package/package.json +11 -3
package/index.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
|
|
8
8
|
*/
|
|
9
9
|
export { build, build as default } from './lib/index.js';
|
|
10
|
-
export
|
|
10
|
+
export { escapeHtml, getTrustedPolicy, trustedHtml } from './lib/browser/index.js';
|
package/package.json
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localnerve/web-component-build",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.3",
|
|
4
4
|
"description": "A library to help build web components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
8
|
-
"
|
|
9
|
-
|
|
8
|
+
".": {
|
|
9
|
+
"browser": "./lib/browser/index.js",
|
|
10
|
+
"import": "./index.js",
|
|
11
|
+
"default": "./index.js"
|
|
12
|
+
},
|
|
13
|
+
"./browser": {
|
|
14
|
+
"import": "./lib/browser/index.js",
|
|
15
|
+
"default": "./lib/browser/index.js"
|
|
16
|
+
}
|
|
10
17
|
},
|
|
18
|
+
"browser": "./lib/browser/index.js",
|
|
11
19
|
"scripts": {
|
|
12
20
|
"lint": "eslint .",
|
|
13
21
|
"pretest": "node -e \"const fs=require('fs');fs.rmSync('./coverage',{recursive:true,force:true});fs.mkdirSync('./coverage',{recursive:true})\"",
|