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');