diff options
author | bobzel <zzzman@gmail.com> | 2025-03-16 19:02:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-16 19:02:56 -0400 |
commit | df708c90d8356934d2e3d9123129c761d328c1fe (patch) | |
tree | 98b0588710ac8ca00c303960da0851614aacf597 /webpack.config.js | |
parent | 7d9fae09e8906e5636f6ea695ad560797b08d023 (diff) | |
parent | f4042257be7359734a0dd35cedbf03fe4aa14cf1 (diff) |
Merge branch 'DocCreatorMenu-work' of https://github.com/brown-dash/Dash-Web into DocCreatorMenu-work
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' }, ], |