Skip to content

Commit

Permalink
fix(cli): make it standalone so it's friendly with npx
Browse files Browse the repository at this point in the history
  • Loading branch information
true committed Sep 7, 2022
1 parent 0d50ecc commit 7973072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default defineConfig([
},
{
input: 'lib/cli.ts',
plugins: [json(), ts()],
plugins: [standalone],
output: {
format: 'cjs',
file: pkg.bin['next-utils'],
Expand Down

0 comments on commit 7973072

Please sign in to comment.