Skip to content

Commit

Permalink
TW-1496: [Mises] Ads impressions rework. Enable pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tsx committed Jul 13, 2024
1 parent 2f8c752 commit 8572317
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- development
- 'TW-[0-9]+-epic-**'

jobs:
pull-request-check:
Expand Down
5 changes: 5 additions & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import * as Path from 'path';
import WebPack from 'webpack';
import ExtensionReloaderMV3BadlyTyped, {
ExtensionReloader as ExtensionReloaderMV3Type
} from 'webpack-ext-reloader-mv3';
Expand Down Expand Up @@ -234,6 +235,10 @@ const backgroundConfig = (() => {
color: '#ed8936'
}),

new WebPack.NormalModuleReplacementPlugin(/^react$/, () => {
throw new Error('React is not allowed in BG script');
}),

new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: ['background/**'],
cleanStaleWebpackAssets: false,
Expand Down

0 comments on commit 8572317

Please sign in to comment.