Commit ca52675
fix: remove ConsolePlugin import from CRM config to fix Vite browser build
The CRM example config imported ConsolePlugin (Node.js server-side code using
url, path, fs builtins) which got pulled into the Vite browser build via:
objectstack.shared.ts → @object-ui/example-crm/objectstack.config → plugin.ts
This caused the build to fail with:
"fileURLToPath" is not exported by "__vite-browser-external"
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 8f2a7e7 commit ca52675
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
688 | 687 | | |
689 | 688 | | |
690 | 689 | | |
691 | | - | |
692 | | - | |
693 | | - | |
| 690 | + | |
694 | 691 | | |
0 commit comments