Rspeedy logo
Rspeedy

Home > @lynx-js/lynx-bundle-rslib-config > EncodeOptions > target

EncodeOptions.target property

The output format of the encoded bundle.

  • 'tasm': the native TASM bundle via @lynx-js/tasm. - 'web': a web binary bundle via @lynx-js/web-core/encode, decodable by the web platform. Sections are emitted as raw JS (the web runtime wraps them at lynx.loadScript time), and CSS is folded into the StyleInfo section.

Signature:

target?: 'web' | 'tasm';

Default Value

'tasm'

除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。