Detalhes do pacote

@glimmer/vm-babel-plugins

glimmerjs917.8kMIT0.93.4

Compiles out VM assertion and deprecation utilities and debug tooling based on environment

readme (leia-me)

@glimmer/vm-babel-plugins

This package is meant to be used by hosting environments which use the Glimmer VM. It exports a function which returns an array of babel plugins that should be added to your Babel configuration.

let vmBabelPlugins = require("@glimmer/vm-babel-plugins");

module.exports = {
  plugins: [...vmBabelPlugins({ isDebug: true })],
};

These plugins will remove debug tooling and assertions based on the isDebug option. Currently, this is the only available option.