Replace default exports with named ones #10

Manually merged
kytta merged 2 commits from non-default-export into main 3 months ago
kytta commented 5 months ago
  • IIFE: initializeShareon => Shareon.init()
  • CJS: const initializeShareon = require("shareon") => const Shareon = require("shareon");
  • ESM: import initializeShareon from "shareon" => import { init } from "shareon";
- **IIFE:** `initializeShareon` => `Shareon.init()` - **CJS:** `const initializeShareon = require("shareon")` => `const Shareon = require("shareon");` - **ESM:** `import initializeShareon from "shareon"` => `import { init } from "shareon";`
kytta added 2 commits 5 months ago
kytta referenced this issue from a commit 5 months ago
kytta merged commit bdda39b8ef into main manually 5 months ago
kytta deleted branch non-default-export 5 months ago
The pull request has been manually merged as bdda39b8ef.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Due Date

No due date set.


This pull request currently doesn't have any dependencies.

There is no content yet.