wechat-miniprogram / glass-easel

Multiple-backend component-based JavaScript framework
MIT License
243 stars 34 forks source link

support rspack plugin and `glass-easel-miniprogram-rspack-template` #197

Open gaoachao opened 2 months ago

gaoachao commented 2 months ago

Currently glass-easel uses webpack as bundler and provides webpack plugin. why not use rspack as bundler? Although the glass-easel-template-compiler and glass-easel-stylesheet-compiler are already rust-based with good performance, webpack itself still has many performance bottlenecks, such as the make and seal stages, which are single-threaded. I'd like to try it.

LastLeaf commented 2 months ago

Note that the main problem is to handle miniprogram directory structure properly.