@nzz/q-cli 1.9.4 → 1.9.5
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.
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
>
|
|
65
65
|
<div>
|
|
66
66
|
<div class="s-q-item" id="container"></div>
|
|
67
|
-
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Map,URL,Promise,fetch,URLSearchParams,Array.prototype.find,Array.prototype.findIndex,Object.entries,Array.prototype.includes,CustomEvent,Array.from,String.prototype.startsWith&flags=gated&unknown=polyfill"></script>
|
|
68
67
|
</div>
|
|
69
68
|
</div>
|
|
70
69
|
</section>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nzz/q-cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"prettier": "@nzz/et-utils-config-prettier",
|
|
5
5
|
"description": "Cli tool to setup new Q tools, new Q server implementations and start Q dev server to test developing Q tools",
|
|
6
6
|
"main": "index.js",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"prettier": "@nzz/et-utils-config-prettier",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@nzz/et-utils-config-prettier": "^1.0.6",
|
|
7
|
-
"@nzz/nzz.ch-static": "github:nzzdev/ed-tech-nzz.ch-static#v1.
|
|
7
|
+
"@nzz/nzz.ch-static": "github:nzzdev/ed-tech-nzz.ch-static#v1.3.0",
|
|
8
8
|
"@nzz/q-cli": "^1.4.11",
|
|
9
9
|
"@rollup/plugin-alias": "^3.1.9",
|
|
10
10
|
"@rollup/plugin-commonjs": "^21.0.0",
|
|
@@ -77,12 +77,6 @@ function getHtmlOptions() {
|
|
|
77
77
|
customCssLinks: [
|
|
78
78
|
'https://service.sophie.nzz.ch/bundle/sophie-q@^1,sophie-input@^1,sophie-font@^1,sophie-color@^1,sophie-viz-color@^1,sophie-legend@^1.css',
|
|
79
79
|
],
|
|
80
|
-
|
|
81
|
-
// Links to other js filed that need to be loaded.
|
|
82
|
-
// Will be appended at the end of the body, but before the built js file for the app.
|
|
83
|
-
customJsLinks: [
|
|
84
|
-
'https://cdn.polyfill.io/v2/polyfill.min.js?features=Map,URL,Promise,fetch,URLSearchParams,Array.prototype.find,Array.prototype.findIndex,Object.entries,Array.prototype.includes,CustomEvent,Array.from,String.prototype.startsWith&flags=gated&unknown=polyfill',
|
|
85
|
-
],
|
|
86
80
|
});
|
|
87
81
|
},
|
|
88
82
|
};
|
|
@@ -18,13 +18,6 @@ const screenshot = {
|
|
|
18
18
|
) {
|
|
19
19
|
scripts.push({ url: `${process.env.Q_SERVER_BASE_URL}/files/system.js` });
|
|
20
20
|
}
|
|
21
|
-
if (renderingInfo.loaderConfig && renderingInfo.loaderConfig.polyfills) {
|
|
22
|
-
scripts.push({
|
|
23
|
-
url: `https://cdn.polyfill.io/v2/polyfill.min.js?features=${renderingInfo.loaderConfig.polyfills.join(
|
|
24
|
-
","
|
|
25
|
-
)}`
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
21
|
if (renderingInfo.scripts && Array.isArray(renderingInfo.scripts)) {
|
|
29
22
|
for (let script of renderingInfo.scripts) {
|
|
30
23
|
script = resolvePath(script);
|