@vixoniccom/module-packager 2.5.0-dev.36 → 2.5.0-dev.37
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 +7 -0
- package/index.html +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.5.0-dev.37](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.36...v2.5.0-dev.37) (2021-08-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **release:** nodeintegration was added to webview tag ([763d5db](https://gitlab.com/mandomedio/vixonic/module-packager/commit/763d5db5947a6640c40afe5858d9904357b6abd5))
|
|
11
|
+
|
|
5
12
|
## [2.5.0-dev.36](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.35...v2.5.0-dev.36) (2021-08-23)
|
|
6
13
|
|
|
7
14
|
## [2.5.0-dev.35](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.31...v2.5.0-dev.35) (2021-08-23)
|
package/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<title></title>
|
|
5
5
|
</head>
|
|
6
6
|
<body style="width: 100%; height: 100%; margin: 0; padding: 0;">
|
|
7
|
-
<webview style="width: 100%; height: 100%; margin: 0; padding: 0;" id="webview" autosize
|
|
7
|
+
<webview style="width: 100%; height: 100%; margin: 0; padding: 0;" id="webview" autosize plugins disablewebsecurity></webview>
|
|
8
8
|
<script type="text/javascript">
|
|
9
9
|
const path = require('path')
|
|
10
10
|
const ModuleController = require('@vixoniccom/module-controller')
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
win.focus()
|
|
20
20
|
})
|
|
21
21
|
webview.src = options.mode === 'watch' ? `http://localhost:${options.port}/index.html` : `file://${path.join(options.build, 'index.html')}`
|
|
22
|
+
webview.webpreferences = ''
|
|
23
|
+
webview.webpreferences.nodeintegration = true
|
|
22
24
|
|
|
23
25
|
function getData () {
|
|
24
26
|
let data = {}
|
package/package.json
CHANGED