Skip to content

Commit

Permalink
Change require to import
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel Vos committed Jan 12, 2024
1 parent f0dfd2a commit fa47cea
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 fa47cea

Please sign in to comment.