Fix webpack
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/push/all-checks-complete Pipeline was successful
ci/woodpecker/pr/all-checks-complete unknown status

This commit is contained in:
Smaug123
2025-09-09 08:28:02 +01:00
parent 590e123573
commit ea272a3a4e
3 changed files with 10 additions and 11 deletions

View File

@@ -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"
]

View File

@@ -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)

View File

@@ -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: {