Skip to content

Commit 7871903

Browse files
committed
chore(repo): update dependencies and tidy up after #1325
1 parent a2e582a commit 7871903

File tree

5 files changed

+167
-149
lines changed

5 files changed

+167
-149
lines changed

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,14 @@
3131
"codecov-lite": "2.0.0",
3232
"conventional-commits-parser": "^3.2.1",
3333
"del-cli": "^5.0.0",
34-
"eslint": "^8.24.0",
35-
"eslint-config-rollup": "^3.0.0",
34+
"eslint-config-rollup": "^3.0.1",
3635
"esm": "^3.2.25",
3736
"execa": "^5.1.1",
3837
"globby": "^11.0.1",
3938
"husky": "8.0.1",
4039
"lint-staged": "11.0.1",
4140
"nyc": "^15.1.0",
4241
"pnpm": "^7.12.2",
43-
"prettier": "^2.7.1",
4442
"prettier-plugin-package": "^1.3.0",
4543
"semver": "^7.3.2",
4644
"source-map-support": "^0.5.21",

packages/terser/src/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { NormalizedOutputOptions, RenderedChunk } from 'rollup';
2-
import { minify, MinifyOptions } from 'terser';
1+
import type { NormalizedOutputOptions, RenderedChunk } from 'rollup';
2+
import type { MinifyOptions } from 'terser';
3+
import { minify } from 'terser';
34

45
export default function terser(options?: MinifyOptions) {
56
return {

packages/terser/test/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RollupOptions } from 'rollup';
1+
import type { RollupOptions } from 'rollup';
22

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

packages/terser/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Plugin } from 'rollup';
2-
import { MinifyOptions } from 'terser';
1+
import type { Plugin } from 'rollup';
2+
import type { MinifyOptions } from 'terser';
33

44
/**
55
* A Rollup plugin to generate a minified output bundle.

0 commit comments

Comments
 (0)