Replies: 1 comment
-
Replying to myself: this is essentially a vite issue, tracked here: vitejs/vite#13952 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using Preact+bootstrap to create a configuration UI for an ESP32 embedded device. The device will operate on boats, so internet connectivity can't be guaranteed, and all served files need to be stored on the embedded device itself.
I'm trying to use vite-plugin-federation to implement a plugin system for the project: the host side is part of a toolkit library (SensESP), while the remotes are used to add new pages and config components to the UI. At the moment, I am playing with the remote side project. I have a remote that is built successfully with a
dist/assets/test-plugin.js
bundle file. However,test-plugin.js
always has the following import:I have tried removing all css files and assets from the remote project but the file still gets added. Given that it's 1.8 KB of code that, I believe, only exists for CSS preloading, I'd rather have it removed. Can I somehow do that? (And is this a vite issue to begin with?)
This is the plugin component I am trying to share (for now):
My vite.config.js file is below:
Beta Was this translation helpful? Give feedback.
All reactions