Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-preset-metal-resolve-source

brunobasto317MIT1.0.2

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

babel, babel-preset, metal, resolve

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"]
}