@glimmer/vm-babel-plugins
v0.92.4
Published
Compiles out VM assertion and deprecation utilities and debug tooling based on environment
Downloads
468,566
Maintainers
Keywords
Readme
@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.