Skip to content

Commit

Permalink
fix: Linting issues in rollup.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
roerohan committed Apr 30, 2021
1 parent 2ca2755 commit eb748c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import pkg from './package.json';
import typescript from 'rollup-plugin-typescript2';

export default {
const config = {
input: pkg.source,
output: [
{ file: pkg.main, format: 'cjs' },
],
plugins: [typescript({ tsconfig: './tsconfig.json', useTsconfigDeclarationDir: true })],
external: Object.keys(pkg.peerDependencies || {}),
};

export default config;

0 comments on commit eb748c8

Please sign in to comment.