Raw.macro Versions Save

Read file contents at build time via babel-plugin-macros or SWC plugin.

v0.7.0

1 year ago

Replace swc_ecma_visit and swc_plugin with swc_core to support Next.js 13

v0.6.1

1 year ago

You can now use raw.macro via SWC plugin

v0.4.2

3 years ago

Fixed regression from v0.3.0 #44

  • Static template literal with interpolation is now better optimized. It no longer traverse directories and generate dynamic object
  • Weird require.resolve behavior in dynamic import is now handled properly

v0.4.1

3 years ago

v0.3.0

3 years ago

Add support for importing npm packages #17

v0.1.0

3 years ago

Initial release

v0.3.1

3 years ago

Add support for TypeScript type definition #35

v0.4.0

3 years ago

Add support for dynamic path import #37