Skip to content

Resource loading support

Compare
Choose a tag to compare
@FranckFreiburger FranckFreiburger released this 19 Mar 12:05
· 350 commits to main since this release

features

  • resource loading support (inspired from webpack loaders), eg . require('file!image.svg')

breaking changes:

  • Options.additionalModuleHandlers renamed into moduleHandlers
  • Options.pathHandlers.resolve(absoluteFilepath, dependencyPath) is now resolve({ refPath, relPath })

for more details, see CHANGELOG.md