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 theresolveModuleSource
option to a function that converts imports that are neither relative nor absolute (i.e. start with neither "/" nor ".") to real paths relative to nodemodules{
"preset": ["metal-resolve-source"]
}