Skip to content

Commit

Permalink
chore(repo): update dependencies and tidy up after #1325
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Nov 27, 2022
1 parent a2e582a commit 7871903
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 149 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@
"codecov-lite": "2.0.0",
"conventional-commits-parser": "^3.2.1",
"del-cli": "^5.0.0",
"eslint": "^8.24.0",
"eslint-config-rollup": "^3.0.0",
"eslint-config-rollup": "^3.0.1",
"esm": "^3.2.25",
"execa": "^5.1.1",
"globby": "^11.0.1",
"husky": "8.0.1",
"lint-staged": "11.0.1",
"nyc": "^15.1.0",
"pnpm": "^7.12.2",
"prettier": "^2.7.1",
"prettier-plugin-package": "^1.3.0",
"semver": "^7.3.2",
"source-map-support": "^0.5.21",
Expand Down
5 changes: 3 additions & 2 deletions packages/terser/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { NormalizedOutputOptions, RenderedChunk } from 'rollup';
import { minify, MinifyOptions } from 'terser';
import type { NormalizedOutputOptions, RenderedChunk } from 'rollup';
import type { MinifyOptions } from 'terser';
import { minify } from 'terser';

export default function terser(options?: MinifyOptions) {
return {
Expand Down
2 changes: 1 addition & 1 deletion packages/terser/test/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RollupOptions } from 'rollup';
import type { RollupOptions } from 'rollup';

import terser from '../types/index';

Expand Down
4 changes: 2 additions & 2 deletions packages/terser/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin } from 'rollup';
import { MinifyOptions } from 'terser';
import type { Plugin } from 'rollup';
import type { MinifyOptions } from 'terser';

/**
* A Rollup plugin to generate a minified output bundle.
Expand Down
Loading

0 comments on commit 7871903

Please sign in to comment.