vite-plugin-dynamic-import
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "vite-plugin-dynamic-import", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Supported use alias in dynamic import", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# vite-plugin-dynamic-import | ||
An vite plugin for dynamic import syntax | ||
An vite plugin for dynamic import | ||
## Usage | ||
```javascript | ||
import { dynamicImport } from 'vite-plugin-dynamic-import' | ||
export default { | ||
plugins: [ | ||
dynamicImport() | ||
] | ||
} | ||
``` | ||
## How and why? | ||
@@ -53,3 +64,3 @@ | ||
* you code | ||
* original code | ||
```javascript | ||
@@ -56,0 +67,0 @@ import(`@/views${x.component || x.path}`) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22266
102