Skip to content

Commit

Permalink
build: Exclude svelte from Rollup’s external module list (#767)
Browse files Browse the repository at this point in the history
Fixes #766
  • Loading branch information
delucis authored Jul 22, 2020
1 parent 72ed591 commit 84e93b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ import pkg from './package.json';
import typescript from 'rollup-plugin-typescript2';
const subpackages = require('./subpackages');

const internalDeps = ['svelte'];
const external = [
...Object.keys(pkg.dependencies),
...Object.keys(pkg.dependencies).filter(name => !internalDeps.includes(name)),
'react',
'socket.io-client',
];
Expand Down

0 comments on commit 84e93b4

Please sign in to comment.