aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-11-22 10:27:33 -0500
committerbobzel <zzzman@gmail.com>2024-11-22 10:27:33 -0500
commit89424e0a8efc6cf3364a2fd1ffc85c9d0d837453 (patch)
tree9f0bb770707b2e4239c0618d7435976bcc1c0f16 /webpack.config.js
parent7b38bbc4d845fa524e8310a0ec05b0e776b47c82 (diff)
added initial Firefly endpoint and hanged smartDrawHandler to generate an image and an svg.
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/webpack.config.js b/webpack.config.js
index e1afc64e5..67417fb02 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,4 +1,4 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
+/* eslint-disable @typescript-eslint/no-require-imports */
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
@@ -36,7 +36,6 @@ function transferEnvironmentVariables() {
}
const resolvedClientSide = Object.keys(parsed).reduce((mapping, envKey) => {
if (envKey.startsWith(prefix)) {
- // eslint-disable-next-line
mapping[`process.env.${envKey.replace(prefix, '')}`] = JSON.stringify(parsed[envKey]);
}
return mapping;
@@ -112,7 +111,7 @@ module.exports = {
test: /\.scss|css$/,
exclude: /\.module\.scss$/i,
use: [
- { loader: 'style-loader' }, // eslint-disable-next-line prettier/prettier
+ { loader: 'style-loader' }, //
{ loader: 'css-loader' },
{ loader: 'sass-loader' },
],
@@ -127,7 +126,7 @@ module.exports = {
{
test: /\.module\.scss$/i,
use: [
- { loader: 'style-loader' }, // eslint-disable-next-line prettier/prettier
+ { loader: 'style-loader' }, //
{ loader: 'css-loader', options: { modules: true } },
{ loader: 'sass-loader' },
],