Skip to content

Conversation

jviney
Copy link

@jviney jviney commented Sep 16, 2025

Overview

The IIFE name is not currently configurable, and can be important when inserting content scripts with world=MAIN to ensure there is no conflict with the page where the script is being inserted.

Manual Testing

When specifying an iifeName option in the config, the return value of this function is used as the IIFE name in the built JS files.

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 97a4fb9
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/68c92b5f1d6bfa0008c49dec
😎 Deploy Preview https://deploy-preview-1897--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jviney jviney changed the title Add iifeName option. feat: Add iifeName option Sep 16, 2025
@jviney jviney force-pushed the add-iife-name-option branch from f084548 to 106d137 Compare September 16, 2025 09:11
@jviney jviney force-pushed the add-iife-name-option branch from 106d137 to 97a4fb9 Compare September 16, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant