github lynx-family/lynx-stack @lynx-js/external-bundle-rsbuild-plugin@0.0.1

latest releases: @lynx-js/web-mainthread-apis@0.19.3, @lynx-js/web-core-server@0.19.3, @lynx-js/web-core@0.19.3...
6 hours ago

Patch Changes

  • Introduce @lynx-js/external-bundle-rsbuild-plugin. (#2006)

    // 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' },
            },
          },
        }),
      ],
    }
  • Updated dependencies [491c5ef]:

    • @lynx-js/externals-loading-webpack-plugin@0.0.2

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.