update build to use Rollup 2

This commit is contained in:
Conduitry 2020-05-31 19:24:41 -04:00
parent 4d095344aa
commit 22eb24fdde
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
},
"homepage": "https://cndtr.dev/defiler",
"devDependencies": {
"rollup": "^1",
"rollup": "^2",
"rollup-plugin-cheap-ts": "Conduitry/rollup-plugin-cheap-ts#semver:^1",
"typescript": "^3",
"@types/node": "=8"

View File

@ -1,7 +1,7 @@
import cheap_ts from 'rollup-plugin-cheap-ts';
export default {
input: 'src/index',
input: './src/index',
external: name => /^[a-z]/.test(name),
plugins: [cheap_ts()],
output: [