babel-preset-metal-resolve-source

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-metal-resolve-source
1.0.25 years ago6 years agoMinified + gzip package size for babel-preset-metal-resolve-source in KB

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 nodemodules
{
  "preset": ["metal-resolve-source"]
}