MCPcopy Create free account
hub / github.com/HuolalaTech/react-query-kit / replaceDevPlugin

Function replaceDevPlugin

rollup.config.js:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import visualizer from 'rollup-plugin-visualizer'
8
9const replaceDevPlugin = type =>
10 replace({
11 'process.env.NODE_ENV': `"${type}"`,
12 delimiters: ['', ''],
13 preventAssignment: true,
14 })
15const extensions = ['.ts', '.tsx']
16const babelPlugin = babel({
17 babelHelpers: 'bundled',

Callers 2

umdDevFunction · 0.85
umdProdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected