Trying to fix the build script
parent
66ea9829b6
commit
3c280f58d1
|
@ -150,10 +150,7 @@ fi
|
|||
|
||||
echo "---------- Setup ----------"
|
||||
chmod +x ./scripts/install_dependencies.sh
|
||||
execute \
|
||||
"Installing dependencies" \
|
||||
"Failed to install required dependencies" \
|
||||
"./scripts/install_dependencies.sh"
|
||||
source ./scripts/install_dependencies.sh
|
||||
|
||||
echo "---------- Web client ----------"
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import * as fs from "fs-extra";
|
||||
import * as path from "path";
|
||||
import * as config_base from "./webpack.config";
|
||||
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||
|
@ -18,8 +17,6 @@ export = () => config_base.config("web").then(config => {
|
|||
config.node = config.node || {};
|
||||
config.node["fs"] = "empty";
|
||||
|
||||
console.error("Directory: %s", path.resolve(__dirname, "web", "audio-lib"));
|
||||
console.error("Stats: %o", fs.statSync(path.resolve(__dirname, "web", "audio-lib")));
|
||||
config.plugins.push(new WasmPackPlugin({
|
||||
crateDirectory: path.resolve(__dirname, "web", "audio-lib"),
|
||||
outName: "index",
|
||||
|
|
Loading…
Reference in New Issue