UNPKG

tripledoc

Version:

Library to read, create and update documents on a Solid Pod

33 lines (31 loc) 690 B
import pkg from './package.json'; import typescript from 'rollup-plugin-typescript2'; export default { input: './src/index.ts', output: [ { file: pkg.main, format: 'cjs', }, { file: pkg.module, format: 'esm', }, { dir: 'umd', format: 'umd', name: 'Tripledoc', }, ], plugins: [ typescript({ // Use our own version of TypeScript, rather than the one bundled with the plugin: typescript: require('typescript'), tsconfigOverride: { "compilerOptions": { "module": "es2015", }, }, }) ] }