Closed RGCHN closed 4 months ago
The recent updates introduce Rollup configurations for compiling mini-program artifacts across multiple plugin packages, including model
, orientation-transformer
, and spine
. Key changes involve adding platform-specific configurations, modifying import paths, and updating build scripts to handle new outputs. These adjustments ensure compatibility with different mini-program platforms, streamline the build process, and enhance module resolution.
Files/Paths | Change Summary |
---|---|
plugin-packages/model/rollup.appx.config.js |
Added configuration for compiling mini-program artifacts for the 'alipay' platform. |
plugin-packages/model/rollup.config.js |
Modified import statements and export structure to include appxConfig . |
plugin-packages/orientation-transformer/rollup.appx.config.js |
Introduced a paths object for dynamic module mapping based on the platform. |
plugin-packages/spine/rollup.appx.config.js |
Added configuration for compiling mini-program artifacts for the 'alipay' platform. |
plugin-packages/spine/rollup.config.js |
Modified import statements and export structure to include appxConfig . |
plugin-packages/spine/package.json |
Added a new entry for ./alipay with import, require, and types paths; updated build:module script to copy dist directory. |
In code we weave a magic tale,
For platforms new, we set the sail.
With Rollup's touch, our scripts align,
To mini-programs, our paths now bind.
From spine to model, changes flow,
In harmony, our projects grow.
🌟✨🚀
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Improvements
Compatibility
spine
plugin package.