Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-dynamic-import

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-dynamic-import - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"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}`)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc