aeo.js 0.0.9 → 0.0.10
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/vite.js +3 -0
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +3 -0
- package/dist/vite.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vite.js
CHANGED
|
@@ -1362,6 +1362,9 @@ function aeoVitePlugin(options = {}) {
|
|
|
1362
1362
|
},
|
|
1363
1363
|
load(id) {
|
|
1364
1364
|
if (id === "\0virtual:aeo-widget") {
|
|
1365
|
+
if (!resolvedConfig.widget.enabled) {
|
|
1366
|
+
return "// aeo.js widget disabled";
|
|
1367
|
+
}
|
|
1365
1368
|
const widgetConfig = {
|
|
1366
1369
|
title: resolvedConfig.title,
|
|
1367
1370
|
description: resolvedConfig.description,
|