mirror of
https://github.com/visioncortex/vtracer.git
synced 2026-09-24 21:15:53 -07:00
Publish desktop updater 1.0.0-alpha.3
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: "./bootstrap.js",
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
filename: "bootstrap.js",
|
||||
clean: true,
|
||||
},
|
||||
mode: "development",
|
||||
// wasm-pack's `bundler` target emits ESM imports of the .wasm module; webpack
|
||||
// 5 handles those natively once this experiment is on.
|
||||
experiments: {
|
||||
asyncWebAssembly: true,
|
||||
},
|
||||
devServer: {
|
||||
//host: "0.0.0.0",
|
||||
port: 8080,
|
||||
// dev-server 5 defaults its static root to ./public, which would leave
|
||||
// index.html unserved. `assets` symlinks to ../../docs/assets for samples.
|
||||
static: { directory: __dirname },
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user