diff options
author | bobzel <zzzman@gmail.com> | 2025-01-21 10:16:51 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-01-21 10:16:51 -0500 |
commit | caf384bb374c47118296aa397446e85d3121116b (patch) | |
tree | da270043f88d6cfa0d6b8f1838a55f6faba35bfa /webpack.config.js | |
parent | 22daafa9c505eb9bffb8604be0924a7450d20113 (diff) | |
parent | a6a6929501b7ce9b3ceed73c7e8141a8d8f0c7dc (diff) |
Merge branch 'master' into alyssa-agent
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 7 |
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' }, ], |