babel-preset-metal-resolve-source
v1.0.2
Published
A babel preset for building Metal.js projects that automatically resolves imports into full paths
Downloads
178
Readme
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"]
}