You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
varmyBundle=(function(){//<-- why do I need a named export?'use strict';varb={foo: 'bar'};console.log(b.foo);vara={};// <-- why is it creating a module out of the entry file since nothing is being exported?returna;}());
How can I get the same output of case A when using commonjs require instead?
Just highlighting that --output.name is necessary on case B otherwise the command will fail with [!] Error: You must supply options.name for IIFE bundles