fix build, add docs

This commit is contained in:
Anton Lavrenov
2021-09-23 16:43:38 -05:00
parent 88e3954c80
commit 7a6faebfc4
6 changed files with 7816 additions and 43 deletions

View File

@@ -25,7 +25,11 @@ export default {
// Allow json resolution
// json(),
// Compile TypeScript files
typescript({ useTsconfigDeclarationDir: true, abortOnError: false }),
typescript({
useTsconfigDeclarationDir: true,
abortOnError: false,
removeComments: false,
}),
// // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
// commonjs(),
// // Allow node_modules resolution, so you can use 'external' to control