Skip to content

A babel preset for building Metal.js projects that automatically resolves imports into full paths

License

Notifications You must be signed in to change notification settings

metal/babel-preset-metal-resolve-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-preset-metal-resolve-source

A babel preset for building Metal.js projects that automatically resolves imports into full paths.

Usage

This is a babel preset that sets the resolveModuleSource option to a function that converts imports that are neither relative nor absolute (i.e. start with neither "/" nor ".") to real paths relative to node_modules

{
  "preset": ["metal-resolve-source"]
}

About

A babel preset for building Metal.js projects that automatically resolves imports into full paths

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published