MCPcopy Create free account
hub / github.com/FormidableLabs/babel-plugin-transform-define / getBabelOps

Function getBabelOps

test/index.js:58–63  ·  view source on GitHub ↗
(pluginOps)

Source from the content-addressed store, hash-verified

56};
57
58const getBabelOps = (pluginOps) => ({
59 presets: ["@babel/preset-env"],
60 plugins: [
61 [path.resolve(__dirname, "../lib/index.js"), pluginOps]
62 ]
63});
64
65describe("babel-plugin-transform-define", () => {
66 before(function () {

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…