Switch to a new main entry
This commit is contained in:
parent
ab97f266bb
commit
c87ab6da7f
|
@ -0,0 +1,11 @@
|
|||
import init, { CoreApp } from "kifu-wasm";
|
||||
|
||||
const main = async () => {
|
||||
await init();
|
||||
let coreApi = new CoreApp();
|
||||
|
||||
let response = await coreApi.dispatch({ type: "PlayingField" });
|
||||
console.log("playing field response: ", response);
|
||||
};
|
||||
|
||||
main();
|
|
@ -3,7 +3,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|||
module.exports = {
|
||||
mode: "development",
|
||||
entry: {
|
||||
"kifu-bundle": "./src/converter.ts",
|
||||
"kifu-bundle": "./src/main.ts",
|
||||
sw: "./src/sw.js",
|
||||
},
|
||||
loader: {
|
||||
|
|
Loading…
Reference in New Issue