vite-plugin-solid
Advanced tools
Comparing version 2.6.1 to 2.7.0-beta.0
import { TransformOptions } from '@babel/core'; | ||
import type { Plugin } from 'vite'; | ||
import type { Plugin, FilterPattern } from 'vite'; | ||
/** Possible options for the extensions property */ | ||
@@ -10,2 +10,12 @@ export interface ExtensionOptions { | ||
/** | ||
* A [picomatch](https://github.com/micromatch/picomatch) pattern, or array of patterns, which specifies the files | ||
* the plugin should operate on. | ||
*/ | ||
include?: FilterPattern; | ||
/** | ||
* A [picomatch](https://github.com/micromatch/picomatch) pattern, or array of patterns, which specifies the files | ||
* to be ignored by the plugin. | ||
*/ | ||
exclude?: FilterPattern; | ||
/** | ||
* This will inject solid-js/dev in place of solid-js in dev mode. Has no | ||
@@ -12,0 +22,0 @@ * effect in prod. If set to `false`, it won't inject it in dev. This is |
{ | ||
"name": "vite-plugin-solid", | ||
"version": "2.6.1", | ||
"version": "2.7.0-beta.0", | ||
"description": "solid-js integration plugin for vite 3/4", | ||
@@ -41,3 +41,3 @@ "type": "module", | ||
"@types/babel__core": "^7.1.20", | ||
"babel-preset-solid": "^1.6.3", | ||
"babel-preset-solid": "^1.7.0-beta.3", | ||
"merge-anything": "^5.1.4", | ||
@@ -58,3 +58,3 @@ "solid-refresh": "^0.5.0", | ||
"rollup-plugin-cleaner": "^1.0.0", | ||
"solid-js": "^1.6.11", | ||
"solid-js": "^1.7.0-beta.3", | ||
"typescript": "^4.9.4", | ||
@@ -64,3 +64,3 @@ "vite": "^4.0.0" | ||
"peerDependencies": { | ||
"solid-js": "^1.3.17 || ^1.4.0 || ^1.5.0 || ^1.6.0", | ||
"solid-js": "^1.3.17 || ^1.4.0 || ^1.5.0 || ^1.6.0 || ^1.7.0", | ||
"vite": "^3.0.0 || ^4.0.0" | ||
@@ -67,0 +67,0 @@ }, |
@@ -95,2 +95,16 @@ <p> | ||
#### options.include | ||
- Type: (string | RegExp)[] | string | RegExp | null | ||
- Default: undefined | ||
A [picomatch](https://github.com/micromatch/picomatch) pattern, or array of patterns, which specifies the files the plugin should operate on. | ||
#### options.exclude | ||
- Type: (string | RegExp)[] | string | RegExp | null | ||
- Default: undefined | ||
A [picomatch](https://github.com/micromatch/picomatch) pattern, or array of patterns, which specifies the files to be ignored by the plugin. | ||
#### options.dev | ||
@@ -97,0 +111,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
77070
644
205
1