@rollup/plugin-babel 6.0.3 → 6.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/types/index.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/plugin-babel",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
|
31
31
|
"ci:test": "pnpm test -- --verbose",
|
|
32
32
|
"prebuild": "del-cli dist",
|
|
33
|
+
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
|
|
33
34
|
"prerelease": "pnpm build",
|
|
34
35
|
"pretest": "pnpm build",
|
|
35
36
|
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"peerDependencies": {
|
|
55
56
|
"@babel/core": "^7.0.0",
|
|
56
57
|
"@types/babel__core": "^7.1.9",
|
|
57
|
-
"rollup": "^1.20.0||^2.0.0||^3.0.0"
|
|
58
|
+
"rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
|
|
58
59
|
},
|
|
59
60
|
"peerDependenciesMeta": {
|
|
60
61
|
"rollup": {
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"@rollup/plugin-json": "^5.0.0",
|
|
79
80
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
80
81
|
"@types/babel__core": "^7.1.9",
|
|
81
|
-
"rollup": "^
|
|
82
|
+
"rollup": "^4.0.0-24",
|
|
82
83
|
"source-map": "^0.7.4"
|
|
83
84
|
},
|
|
84
85
|
"types": "./types/index.d.ts",
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Plugin, PluginContext, TransformPluginContext } from 'rollup';
|
|
2
|
-
import { FilterPattern, CreateFilter } from '@rollup/pluginutils';
|
|
3
|
-
import * as babelCore from '@babel/core';
|
|
1
|
+
import type { Plugin, PluginContext, TransformPluginContext } from 'rollup';
|
|
2
|
+
import type { FilterPattern, CreateFilter } from '@rollup/pluginutils';
|
|
3
|
+
import type * as babelCore from '@babel/core';
|
|
4
4
|
|
|
5
5
|
export interface RollupBabelInputPluginOptions
|
|
6
6
|
extends Omit<babelCore.TransformOptions, 'include' | 'exclude'> {
|