Skip to content

Commit dfa81f6

Browse files
committed
hotfix assets
1 parent 9825eea commit dfa81f6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package-postinstall.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
(function OLSKPostinstallHotfix() {
2-
Object.entries(require('OLSKHotfix').OLSKHotfixPatches(process.env.NODE_ENV)).forEach(function ([path, patches]) {
2+
Object.entries(Object.assign(require('OLSKHotfix').OLSKHotfixPatches(process.env.NODE_ENV), {
3+
'./node_modules/OLSKAppToolbar/node_modules/OLSKReloadButton/main.svelte': {
4+
"from '../OLSKUIAssets/_OLSKSharedReload.svg'": "from '../../../OLSKUIAssets/_OLSKSharedReload.svg'",
5+
},
6+
'./node_modules/OLSKNarrow/node_modules/OLSKInputWrapper/main.svelte': {
7+
"from '../OLSKUIAssets/_OLSKInputClear.svg'": "from '../../../OLSKUIAssets/_OLSKInputClear.svg'",
8+
},
9+
})).forEach(function ([path, patches]) {
310
if (!require('fs').existsSync(path)) {
411
return;
512
}

0 commit comments

Comments
 (0)