Skip to content

Commit 6c02ab3

Browse files
authored
fix(cli): update rollup config (#265)
1 parent 597c403 commit 6c02ab3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cli/rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import typescript from "@rollup/plugin-typescript";
99
const typescriptPlugin = typescript({
1010
tsconfig: "./tsconfig.package.json",
1111
compilerOptions: {
12-
outDir: ".",
12+
outDir: "lib",
1313
sourceMap: false,
1414
},
1515
});
@@ -18,7 +18,7 @@ export default [
1818
{
1919
input: "src/index.ts",
2020
output: {
21-
file: "lib/index.js",
21+
dir: "lib",
2222
format: "es",
2323
},
2424
cache: false,
@@ -27,7 +27,7 @@ export default [
2727
{
2828
input: "src/cli.ts",
2929
output: {
30-
file: "lib/cli.js",
30+
dir: "lib",
3131
format: "es",
3232
banner: "#!/usr/bin/env node",
3333
},

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)