mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
add switch for react query devtools based on .env (#6280)
This commit is contained in:
parent
f99329eb7e
commit
ac9ca7d5e3
4 changed files with 128 additions and 13 deletions
|
@ -8,6 +8,7 @@ const CleanWebpackPlugin = require('clean-webpack-plugin');
|
|||
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
|
||||
const ESLintPlugin = require('eslint-webpack-plugin');
|
||||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
||||
const Dotenv = require('dotenv-webpack');
|
||||
|
||||
const pkg = require('../package.json');
|
||||
const projectRoot = path.resolve(__dirname, '..');
|
||||
|
@ -91,6 +92,7 @@ module.exports = {
|
|||
writeToDisk: true,
|
||||
},
|
||||
plugins: [
|
||||
new Dotenv(),
|
||||
new ESLintPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './app/index.html',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue