Fix incompatibility with latest Node.js #24

Merged
telackey merged 7 commits from dboreham/update-dependencies into main 2023-03-20 08:12:26 +00:00
3 changed files with 18 additions and 13 deletions
Showing only changes of commit 2e4f0827d1 - Show all commits

View File

@ -2,7 +2,7 @@
// Copyright 2019 DXOS.org
//
const merge = require('webpack-merge');
const { merge } = require('webpack-merge');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const baseConfig = require('./webpack-common.config');

View File

@ -14,19 +14,24 @@ const CONFIG_FILE = path.relative('./src', process.env.CONFIG_FILE || 'config-lo
module.exports = {
devtool: 'eval-source-map',
devServer: {
contentBase: path.join(__dirname, 'dist'),
compress: true,
disableHostCheck: true,
port: 8080,
watchOptions: {
ignored: /node_modules/,
aggregateTimeout: 600
}
watchOptions: {
ignored: /node_modules/,
aggregateTimeout: 600
},
node: {
fs: 'empty'
devServer: {
static: {
directory: path.join(__dirname, "dist")
},
compress: true,
allowedHosts: "all",
port: 8080
},
resolve: {
fallback: {
fs: false
}
},
output: {

View File

@ -2,7 +2,7 @@
// Copyright 2019 DXOS.org
//
const merge = require('webpack-merge');
const { merge } = require('webpack-merge');
const HtmlWebPackPlugin = require('html-webpack-plugin');
const commonConfig = require('./webpack-common.config');