Skip to content

Commit

Permalink
Change require to import (#65)
Browse files Browse the repository at this point in the history
* Change require to import

* Update wrs.js from 2023
  • Loading branch information
michie1 authored Jan 12, 2024
1 parent bee357c commit 7839a67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prod/2023/wrs.js

Large diffs are not rendered by default.

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 7839a67

Please sign in to comment.