Skip to content

Commit

Permalink
Change require to import
Browse files Browse the repository at this point in the history
  • Loading branch information
michie1 authored and Michiel Vos committed Jan 12, 2024
1 parent bee357c commit 8d8c82d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import config from "../config";
import { Elm } from "./Main";

(function() {
"use strict";

Expand Down Expand Up @@ -31,10 +34,8 @@
}
}

const config = require("../config");
firebase.initializeApp(config);

const { Elm } = require("./Main");
const app = Elm.Main.init({
node: document.getElementById("main"),
flags: {
Expand Down

0 comments on commit 8d8c82d

Please sign in to comment.