Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

rollup.config.js

13 lines220 Bytes

1// @ts-check
2import withSolid from 'rollup-preset-solid'
3​
4const config = withSolid({
5 input: 'src/index.tsx',
6 targets: ['esm', 'cjs'],
7})
8​
9if (!Array.isArray(config)) {
10 config.external = []
12​
13export default config