refactor(frontend): use ESM
This commit is contained in:
parent
299c9c4118
commit
b0f6c44f36
459 changed files with 1643 additions and 1642 deletions
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
import _confetti from 'canvas-confetti';
|
||||
import * as os from '@/os';
|
||||
import * as os from '@/os.js';
|
||||
|
||||
export function confetti(options: { duration?: number; } = {}) {
|
||||
const duration = options.duration ?? 1000 * 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue