Clean up and document index.js file.

This commit is contained in:
projectmoon 2021-06-12 23:00:58 +00:00
parent 4c0d5ea2d8
commit 258f7f8b88
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
//The wasm application is compiled as javascript into the /pkg //The wasm application is compiled as javascript into the /pkg
//directory. Webpack then replaces this import with what is actually //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('webui.scss'); import('./pkg');
import("./pkg");