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

Function cjs

rollup.config.js:73–88  ·  view source on GitHub ↗
({ input, external })

Source from the content-addressed store, hash-verified

71}
72
73function cjs({ input, external }) {
74 return {
75 // CJS
76 external,
77 input,
78 output: {
79 format: 'cjs',
80 sourcemap: true,
81 dir: `build/lib`,
82 preserveModules: true,
83 exports: 'named',
84 entryFileNames: '[name].js',
85 },
86 plugins: [babelPlugin, commonJS(), nodeResolve({ extensions })],
87 }
88}
89
90function umdDev({ input, external, globals, jsName }) {
91 return {

Callers 1

rollupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected