aframe-babia-components
Version:
A data visualization set of components for A-Frame.
23 lines (21 loc) • 618 B
JavaScript
// Specific configuration for developers
// Runs a HTTPS server in port 8080, accesible
// from all hosts that can connect to it.
// Convenient for connecting external devices (eg, a VR device)
// USE AT YOUR OWN RISK
const path = require("path");
const merge = require("webpack-merge");
const common = require("./webpack.common");
module.exports = merge(common, {
mode: "development",
devtool: "inline-source-map",
devServer: {
publicPath: "/dist/",
contentBase: path.resolve(__dirname, "."),
host: "0.0.0.0",
https: {
cert: './babia_cert.pem',
key: './babia_key.pem'
}
}
});