UNPKG

tripledoc

Version:

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

28 lines (26 loc) 603 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', }, ], plugins: [ typescript({ // Use our own version of TypeScript, rather than the one bundled with the plugin: typescript: require('typescript'), tsconfigOverride: { "compilerOptions": { "module": "es2015", }, }, }) ] }