Skip to content

Commit

Permalink
fix: only use prebid babel presets and plugins for prebid files
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoo committed Jan 24, 2022
1 parent ab4ec84 commit 53f1d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const webpackConfig = getBaseWebpackConfig(
);

webpackConfig.module.rules.push( {
test: /.js$/,
test: prebid,
include: new RegExp( `\\${ path.sep }prebid\\.js` ),
use: {
loader: 'babel-loader',
Expand Down

0 comments on commit 53f1d85

Please sign in to comment.