Open phoenix-ru opened 6 months ago
To avoid extra overhead of using unimport in js side, most of the component and directive resolutions can happen in the Rust side.
unimport
import 'x'
node_modules/path/to/x/index.js
Lazy
To avoid extra overhead of using unimport in js side, most of the component and directive resolutions can happen in the Rust side.
unimport
works on source code;unimport
gathers the auto-import symbols (across source code and dependencies);import 'x'
->node_modules/path/to/x/index.js
) in Rust;Lazy
prefixed imports;