@lynx-js/external-bundle-rsbuild-plugin
v0.0.4
Published
An rsbuild plugin for loading lynx external bundles.
Readme
Getting Started
npm install -D @lynx-js/external-bundle-rsbuild-pluginUsage
// lynx.config.ts
import { pluginExternalBundle } from '@lynx-js/external-bundle-rsbuild-plugin'
import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin'
export default {
plugins: [
pluginReactLynx(),
pluginExternalBundle({
externals: {
lodash: {
url: 'http://lodash.lynx.bundle',
background: { sectionPath: 'background' },
mainThread: { sectionPath: 'mainThread' },
},
},
}),
],
}Documentation
Visit Lynx Website to view the full documentation.
Contributing
Contributions to Rspeedy are welcome and highly appreciated. However, before you jump right into it, we would like you to review our Contribution Guidelines to make sure you have a smooth experience contributing to this project.
License
Rspeedy is Apache-2.0 licensed.
