@umd-pkg/babel-helper-module-imports
v7.16.0-beta.0
Published
Babel helper functions for inserting module loads
Downloads
5
Readme
@umd-pkg/babel-helper-module-imports
Babel helper functions for inserting module loads
This is a fork of @babel/helper-module-imports with a few changes:
- Add
types
parameter for @babel/standalone
// before
import { addSideEffect } from "@babel/helper-module-imports";
addSideEffect(path, 'source');
// after
import { addSideEffect } from "@umd-pkg/babel-helper-module-imports";
addSideEffect(path, 'source', t); // add `types`
Install
Using npm:
npm install --save @umd-pkg/babel-helper-module-imports
or using yarn:
yarn add @umd-pkg/babel-helper-module-imports
or using pnpm:
pnpm add @umd-pkg/babel-helper-module-imports