MCPcopy
hub / github.com/souporserious/react-measure / getBabelOptions

Function getBabelOptions

rollup.config.js:5–9  ·  view source on GitHub ↗
({ useESModules })

Source from the content-addressed store, hash-verified

3import pkg from './package.json'
4
5const getBabelOptions = ({ useESModules }) => ({
6 exclude: 'node_modules/**',
7 runtimeHelpers: true,
8 plugins: [['@babel/plugin-transform-runtime', { useESModules }]],
9})
10
11const isExternal = id => !id.startsWith('.') && !id.startsWith('/')
12

Callers 1

rollup.config.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…