popovers
This commit is contained in:
1 parent
cb89cce183
commit
8bfee04c8c
10 files changed
+143
-16
No files matched your search
@@ -14,7 +14,8 @@ export type ComponentResources = {
|
||||
}
|
||||
|
||||
function joinScripts(scripts: string[]): string {
|
||||
return scripts.join("\n")
|
||||
// wrap with iife to prevent scope collision
|
||||
return scripts.map(script => `(function () {${script}})();`).join("\n")
|
||||
}
|
||||
|
||||
export function emitComponentResources(cfg: GlobalConfiguration, resources: StaticResources, plugins: PluginTypes, emit: EmitCallback) {
|
||||
|
||||
Reference in new issue
Block a user