separate the wysiwyg field

This commit is contained in:
Elio Struyf
2024-10-09 14:13:55 +02:00
parent bdcd901e51
commit 2269994b43
9 changed files with 4661 additions and 1683 deletions

View File

@@ -2,9 +2,7 @@
/* eslint-disable */
const path = require('path');
const {
ProvidePlugin
} = require('webpack');
const { ProvidePlugin } = require('webpack');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const WebpackManifestPlugin = require('webpack-manifest-plugin').WebpackManifestPlugin;
const ESLintPlugin = require('eslint-webpack-plugin');

View File

@@ -2,6 +2,7 @@
/* eslint-disable */
const path = require('path');
const { ProvidePlugin } = require('webpack');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const WebpackManifestPlugin = require('webpack-manifest-plugin').WebpackManifestPlugin;
const ESLintPlugin = require('eslint-webpack-plugin');
@@ -19,7 +20,7 @@ const config = [{
resolve: {
extensions: ['.ts', '.js', '.tsx', '.jsx'],
fallback: {
"path": require.resolve("path-browserify")
"path": require.resolve("path-browserify"),
}
},
module: {
@@ -69,7 +70,13 @@ const config = [{
extensions: ['ts', 'tsx'],
exclude: ['node_modules', 'dist'],
emitWarning: false,
})
}),
new ProvidePlugin({
// Make a global `process` variable that points to the `process` package,
// because the `util` package expects there to be a global variable named `process`.
// Thanks to https://stackoverflow.com/a/65018686/14239942
process: 'process/browser'
}),
],
devServer: {
compress: true,