committed by
GitHub
2 changed files with 11 additions and 2 deletions
@ -1,8 +1,14 @@ |
|||
import withSolid from 'rollup-preset-solid'; |
|||
|
|||
export default withSolid({ |
|||
const config = withSolid({ |
|||
// The .tsx extension makes the Solid source condition emit JSX for Vite to compile.
|
|||
input: 'src/tabler-icons-solidjs.tsx', |
|||
targets: ['esm', 'cjs'], |
|||
printInstructions: false, |
|||
}); |
|||
|
|||
// The preset always emits source maps; like the other packages, Solid ships
|
|||
// without them (see `.build/rollup-plugins.mjs`).
|
|||
config.output = config.output.map((output) => ({ ...output, sourcemap: false })); |
|||
|
|||
export default config; |
|||
|
|||
Loading…
Reference in new issue