core icon indicating copy to clipboard operation
core copied to clipboard

Expect support for the syntax of import statements at runtime.

Open FaureWu opened this issue 8 months ago • 5 comments

Clear and concise description of the problem

I expect to load remote resources at runtime. Currently, the official runtime package can only be used with loadRemote.

I expect is

Example:

import Button from "remote:app/Button"

Suggested solution

Before this, I modified a version based on a Webpack plugin to support this functionality:

RemoteWebpackPlugin

However, it is still quite basic, and I hope the official version can implement similar features.

Alternative

No response

Additional context

No response

Validations

  • [x] Read the Contributing Guidelines.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

FaureWu avatar Feb 05 '25 09:02 FaureWu