Skip to content

如何在 Sketch 插件中使用 React Typescript #44

@rottenpen

Description

@rottenpen

一开始打算参考how-to-use-react-in-your-sketch-plugin的方案配,但是也许是 skpm 的版本不一致,遇到了多路径入口只读 default 的问题,在配置 TS 的时候遇到了不少问题。
最后放弃了一起构筑的方案,React webview 单独抽离打包,最后通过 shell 脚本打包。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions