Skip to content

Plugin requrie function supports loading node modules #9803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

Zuoqiu-Yingyi
Copy link
Contributor

  • Please commit to the dev branch

插件的入口的 require 方法支持回退至 window.require 方法, 以便于 webpack, viterollup 等构建工具直接构建可在桌面端运行的插件
The require method of the plugin's entry allows to fall back to the window.require method, so that build tools such as webpack, vite or rollup can directly build plugins that can run on the desktop

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
Zuoqiu-Yingyi Yingyi / 颖逸
@Vanessa219 Vanessa219 added this to the 2.11.1 milestone Dec 4, 2023
@Vanessa219 Vanessa219 merged commit 0d93d14 into siyuan-note:dev Dec 4, 2023
@Zuoqiu-Yingyi Zuoqiu-Yingyi deleted the feat/plugin-require branch December 4, 2023 06:55
@Vanessa219 Vanessa219 self-requested a review December 4, 2023 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants