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

Function mjs

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

Source from the content-addressed store, hash-verified

39}
40
41function mjs({ input, external }) {
42 return {
43 // ESM
44 external,
45 input,
46 output: {
47 format: 'esm',
48 sourcemap: true,
49 dir: `build/lib`,
50 preserveModules: true,
51 entryFileNames: '[name].mjs',
52 },
53 plugins: [babelPlugin, commonJS(), nodeResolve({ extensions })],
54 }
55}
56
57function esm({ input, external }) {
58 return {

Callers 1

rollupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected