Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem
https://nextgraph.org
byzantine-fault-tolerancecrdtsdappsdecentralizede2eeeventual-consistencyjson-ldlocal-firstmarkdownocapoffline-firstp2pp2p-networkprivacy-protectionrdfrich-text-editorself-hostedsemantic-websparqlweb3collaboration
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
785 B
40 lines
785 B
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
|
const path = require("path");
|
|
|
|
module.exports = {
|
|
entry: "./src/index.jsx",
|
|
output: {
|
|
path: path.resolve(__dirname, "dist"),
|
|
filename: "bundle.[hash].js",
|
|
},
|
|
devServer: {
|
|
compress: true,
|
|
port: 8080,
|
|
hot: true,
|
|
static: "./dist",
|
|
historyApiFallback: true,
|
|
open: true,
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(js|jsx)$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: "babel-loader",
|
|
},
|
|
},
|
|
],
|
|
},
|
|
plugins: [
|
|
new HtmlWebpackPlugin({
|
|
template: __dirname + "/public/index.html",
|
|
filename: "index.html",
|
|
}),
|
|
],
|
|
experiments: {
|
|
asyncWebAssembly: true
|
|
},
|
|
mode: "development",
|
|
devtool: "inline-source-map",
|
|
}; |