From 258f7f8b888f0544c8c134b3a3b2c6cd3d3690c5 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sat, 12 Jun 2021 23:00:58 +0000 Subject: [PATCH] Clean up and document index.js file. --- web-ui/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-ui/index.js b/web-ui/index.js index fcb16cf..a049029 100644 --- a/web-ui/index.js +++ b/web-ui/index.js @@ -1,6 +1,6 @@ //The wasm application is compiled as javascript into the /pkg //directory. Webpack then replaces this import with what is actually -//needed. +//needed. To import the web assembly, the import FUNCTION must be +//used. The import STATEMENT does not work. import './webui.scss'; -//import('webui.scss'); -import("./pkg"); +import('./pkg');