Skip to content

Commit c3e8960

Browse files
committed
FIXUP: v5 - fail on error
1 parent 84ed68a commit c3e8960

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22
const HtmlPlugin = require('html-webpack-plugin');
33
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
44
const CopyPlugin = require('copy-webpack-plugin');
5-
const RelativeCIAgentPlugin = require('@relative-ci/webpack-plugin');
5+
const RelativeCIAgentPlugin = require('@relative-ci/webpack-plugin').default;
66

77
const SRC_DIR = path.resolve(__dirname, 'src');
88
const OUT_DIR = path.resolve(__dirname, 'dist');
@@ -97,6 +97,7 @@ module.exports = (_, { mode }) => {
9797
}),
9898
new RelativeCIAgentPlugin({
9999
payloadFilepath: path.join(ARTIFACTS_DIR, 'relative-ci-payload.json'),
100+
failOnError: true,
100101
}),
101102
],
102103
devServer: {

0 commit comments

Comments
 (0)