Skip to content

Commit

Permalink
fix: trustpilot issue (deriv-com#15929) (deriv-com#15930)
Browse files Browse the repository at this point in the history
Co-authored-by: Niloofar Sadeghi <93518187+niloofar-deriv@users.noreply.github.com>
  • Loading branch information
ali-hosseini-deriv and niloofar-deriv authored Jul 3, 2024
1 parent 2688b3c commit db5a7ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/appstore/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const DefinePlugin = require('webpack').DefinePlugin;
const Dotenv = require('dotenv-webpack');
// const { CleanWebpackPlugin } = require('clean-webpack-plugin');
// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const path = require('path');
Expand Down Expand Up @@ -65,6 +67,12 @@ module.exports = function (env) {
},
extensions: ['.ts', '.tsx', '.js'],
},
plugins: [
new Dotenv(),
new DefinePlugin({
'process.env.TRUSTPILOT_API_KEY': JSON.stringify(process.env.TRUSTPILOT_API_KEY),
}),
],
module: {
rules: [
{
Expand Down

0 comments on commit db5a7ba

Please sign in to comment.