vite-plugin-resolve
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "vite-plugin-resolve", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Custom resolve code for vite", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -22,6 +22,6 @@ # vite-plugin-resolve | ||
viteResolve({ | ||
// use string | ||
// use string in web | ||
vue: `const vue = window.Vue; export default vue;`, | ||
// use function to return string | ||
vuex: () => `const vuex = window.Vuex; export default Vuex;`, | ||
// use function to return string in electron | ||
electron: () => `const electron = require('electron'); export default electron;`, | ||
}) | ||
@@ -28,0 +28,0 @@ ] |
@@ -0,0 +0,0 @@ |
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
2174