mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:07:22 +00:00

# Which Problems Are Solved We currently are not able to benchmark the performance of the session api # How the Problems Are Solved Load tests were added to - use sessions in oidc tokens analog https://zitadel.com/docs/guides/integrate/login-ui/oidc-standard # Additional Context - Closes https://github.com/zitadel/zitadel/issues/7847
40 lines
947 B
JavaScript
40 lines
947 B
JavaScript
const path = require('path');
|
|
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
|
const CopyPlugin = require('copy-webpack-plugin');
|
|
const GlobEntries = require('webpack-glob-entries');
|
|
|
|
module.exports = {
|
|
mode: 'production',
|
|
entry: GlobEntries('./src/use_cases/**/*.ts'), // Generates multiple entry for each test
|
|
output: {
|
|
path: path.join(__dirname, 'dist'),
|
|
libraryTarget: 'commonjs',
|
|
filename: '[name].js',
|
|
},
|
|
resolve: {
|
|
extensions: ['.ts', '.js'],
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
use: 'babel-loader',
|
|
exclude: /node_modules/,
|
|
},
|
|
],
|
|
},
|
|
target: 'web',
|
|
externals: /^(k6|https?\:\/\/)(\/.*)?/,
|
|
// Generate map files for compiled scripts
|
|
devtool: "source-map",
|
|
stats: {
|
|
colors: true,
|
|
},
|
|
plugins: [
|
|
new CleanWebpackPlugin(),
|
|
],
|
|
optimization: {
|
|
// Don't minimize, as it's not used in the browser
|
|
minimize: false,
|
|
},
|
|
}; |