diff --git a/dotnet-tools.json b/.config/dotnet-tools.json similarity index 75% rename from dotnet-tools.json rename to .config/dotnet-tools.json index 809ba48..e52a8bb 100644 --- a/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,19 +3,19 @@ "isRoot": true, "tools": { "fantomas": { - "version": "6.1.2", + "version": "7.0.3", "commands": [ "fantomas" ] }, "fable": { - "version": "3.2.9", + "version": "4.25.0", "commands": [ "fable" ] }, "femto": { - "version": "0.12.0", + "version": "0.21.0", "commands": [ "femto" ] diff --git a/Raft.Test/TestInMemoryServer.fs b/Raft.Test/TestInMemoryServer.fs index 4abec3f..80e6a64 100644 --- a/Raft.Test/TestInMemoryServer.fs +++ b/Raft.Test/TestInMemoryServer.fs @@ -11,7 +11,7 @@ open FsCheck module TestInMemoryServer = let check<'T> (prop : 'T) = - let config = Config.QuickThrowOnFailure.WithMaxTest(1000).WithQuietOnSuccess(true) + let config = Config.QuickThrowOnFailure.WithMaxTest(1000).WithQuietOnSuccess (true) Check.One (config, prop) diff --git a/RaftFable/webpack.config.js b/RaftFable/webpack.config.js index 00890a1..63adc5b 100644 --- a/RaftFable/webpack.config.js +++ b/RaftFable/webpack.config.js @@ -1,9 +1,4 @@ -// Note this only includes basic configuration for development mode. -// For a more comprehensive configuration check: -// https://github.com/fable-compiler/webpack-config-template - var path = require("path"); - module.exports = { mode: "development", entry: "./src/App.fs.js", @@ -12,8 +7,12 @@ module.exports = { filename: "bundle.js", }, devServer: { - publicPath: "/", - contentBase: "./public", + static: { + directory: path.join(__dirname, "./public"), + }, + devMiddleware: { + publicPath: "/", + }, port: 8080, }, module: {