0.11.2-rc.2 • Published 10 months ago

@discord/swc-intl-message-transformer v0.11.2-rc.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

swc-intl-message-transformer

An SWC plugin for transforming intl message usages to obfuscated, minified strings, saving on bundle size and allowing for complete anonymity of string names.

The runtime of this package is a single .wasm file, which is loaded as the main file when requiring the package.

Development

Ensure you have run rustup target add wasm32-unknown-unknown to be able to build this project for the wasm target.

When you've made a change to the rust code and want to test it in a bundler, build it with pnpm build, this will invoke cargo and build the swc_intl_message_transformer.wasm file that is used as the plugin in SWC.

This plugin is only used in production builds, and is added as part of the options.jsc.experimental.plugins configuration wherever builtin:swc-loader is used. When the wasm file is rebuilt, you'll need to restart rspack for it to pick up the change, but then the next build should use the new version.

0.11.2-rc.2

10 months ago

0.11.2-rc.1

10 months ago

0.11.2-rc.0

10 months ago

0.11.1-rc.0

10 months ago

0.11.1

10 months ago

0.10.2

10 months ago

0.10.3

10 months ago

0.10.4

10 months ago

0.10.0

10 months ago

0.10.0-rc.4

10 months ago

0.10.0-rc.3

10 months ago

0.10.0-rc.2

10 months ago

0.10.0-rc.1

10 months ago

0.9.0

10 months ago

0.9.1

10 months ago

0.9.0-rc.2

10 months ago

0.9.0-rc.1

10 months ago

0.8.0

10 months ago

0.8.0-rc.1

10 months ago

0.8.0-rc.0

10 months ago

0.7.1

10 months ago

0.7.1-rc.0

10 months ago

0.7.0

10 months ago

0.6.2

10 months ago

0.6.1

10 months ago

0.5.2

10 months ago

0.5.0

10 months ago

0.4.2

10 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.3.0

11 months ago

0.2.2

11 months ago

0.2.1-rc.2

11 months ago

0.2.1-rc.1

11 months ago

0.2.1-rc.0

11 months ago

0.2.0

11 months ago

0.1.3-rc.0

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0-rc.1

12 months ago

0.1.0-rc.0

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6-rc.2

12 months ago

0.0.6-rc.1

12 months ago

0.0.6-rc.0

1 year ago

0.0.5

1 year ago

0.0.4-rc.0

1 year ago

0.0.3

1 year ago

0.0.2-rc.2

1 year ago

0.0.2-rc.1

1 year ago

0.0.2-rc.0

1 year ago

0.0.1

1 year ago