vite-plugin-solid
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -0,1 +1,2 @@ | ||
import { TransformOptions } from '@babel/core'; | ||
import { Plugin } from 'vite'; | ||
@@ -6,4 +7,5 @@ interface Options { | ||
hot: boolean; | ||
babel: TransformOptions | ((source: string, id: string, ssr: boolean) => TransformOptions) | ((source: string, id: string, ssr: boolean) => Promise<TransformOptions>); | ||
} | ||
export default function solidPlugin(options?: Partial<Options>): Plugin; | ||
export {}; |
{ | ||
"name": "vite-plugin-solid", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "solid-js integration plugin for vite 2", | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.mjs", | ||
"exports": { | ||
"import": "./dist/esm/index.js", | ||
"node": "./dist/cjs/index.js", | ||
"default": "./dist/cjs/index.js", | ||
"require": "./dist/cjs/index.js" | ||
"import": "./dist/esm/index.mjs", | ||
"node": "./dist/cjs/index.cjs", | ||
"default": "./dist/cjs/index.cjs", | ||
"require": "./dist/cjs/index.cjs" | ||
}, | ||
@@ -55,2 +56,3 @@ "types": "dist/types/index.d.ts", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^18.0.0", | ||
"@rollup/plugin-node-resolve": "^11.2.1", | ||
@@ -57,0 +59,0 @@ "@skypack/package-check": "^0.2.2", |
@@ -109,2 +109,9 @@ # ⚡ vite-plugin-solid | ||
#### options.babel | ||
- Type: Babel.TransformOptions | ||
- Default: {} | ||
Pass any additional [babel transform options](https://babeljs.io/docs/en/options). Those will be merged with the transformations required by Solid. | ||
## Note on HMR | ||
@@ -111,0 +118,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
66353
326
164
Yes
12
5
1