Fix webpack
This commit is contained in:
@@ -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"
|
||||
]
|
@@ -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)
|
||||
|
||||
|
@@ -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: {
|
||||
|
Reference in New Issue
Block a user