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

Function esm

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

Source from the content-addressed store, hash-verified

55}
56
57function esm({ input, external }) {
58 return {
59 // ESM
60 external,
61 input,
62 output: {
63 format: 'esm',
64 dir: `build/lib`,
65 sourcemap: true,
66 preserveModules: true,
67 entryFileNames: '[name].esm.js',
68 },
69 plugins: [babelPlugin, commonJS(), nodeResolve({ extensions })],
70 }
71}
72
73function cjs({ input, external }) {
74 return {

Callers 1

rollupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected