Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2a41eb1
Choose a base ref
...
head repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 636da11
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 15, 2026

  1. fix(vite): serve a plugin module under one URL whether imported or re…

    …-exported
    
    Under HMR the main realm serves a NativeScript plugin's modules under the
    authored spelling of their imports: `import { x } from './framework-registry'`
    reaches the device as `/ns/m/node_modules/<pkg>/framework-registry`. Re-exports
    and dynamic imports kept Vite's resolved `.../framework-registry.js`. The
    device caches modules by URL, so a module imported in one file and
    re-exported from another was evaluated twice. MasonKit's entry re-exports
    what its internals import, so its Vue adapter registered into one copy of
    the framework registry while views read the other, and layout never ran.
    
    Re-exports (`export * from`, `export { a } from`) and string-literal dynamic
    imports now get the same specifier a static import of that module gets, and
    the source scan that records the authored spellings includes them too.
    Worker serves already use the resolved file for both and are unchanged.
    triniwiz committed Oct 15, 2026
    Configuration menu
    Copy the full SHA
    9ca33c8 View commit details
    Browse the repository at this point in the history
  2. chore(vite): drop comments

    triniwiz committed Oct 15, 2026
    Configuration menu
    Copy the full SHA
    636da11 View commit details
    Browse the repository at this point in the history
Loading