mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-07 12:26:41 +02:00
Revert "fix: use _ as word boundary in IIFE var names"
This reverts commit 396ed3fa56.
This commit is contained in:
@@ -32,10 +32,7 @@ export function createConfig(options = {}) {
|
||||
const pluginJsName = pkg.name
|
||||
.replace("@tauri-apps/plugin-", "")
|
||||
.replace(/-./g, (x) => x[1].toUpperCase());
|
||||
const iifeVarName = `__TAURI_PLUGIN_${pkg.name
|
||||
.replace("@tauri-apps/plugin-", "")
|
||||
.replace("-", (x) => "_")
|
||||
.toUpperCase()}__`;
|
||||
const iifeVarName = `__TAURI_PLUGIN_${pluginJsName.toUpperCase()}__`;
|
||||
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user