We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84ed68a commit c3e8960Copy full SHA for c3e8960
1 file changed
webpack.config.js
@@ -2,7 +2,7 @@ const path = require('path');
2
const HtmlPlugin = require('html-webpack-plugin');
3
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
4
const CopyPlugin = require('copy-webpack-plugin');
5
-const RelativeCIAgentPlugin = require('@relative-ci/webpack-plugin');
+const RelativeCIAgentPlugin = require('@relative-ci/webpack-plugin').default;
6
7
const SRC_DIR = path.resolve(__dirname, 'src');
8
const OUT_DIR = path.resolve(__dirname, 'dist');
@@ -97,6 +97,7 @@ module.exports = (_, { mode }) => {
97
}),
98
new RelativeCIAgentPlugin({
99
payloadFilepath: path.join(ARTIFACTS_DIR, 'relative-ci-payload.json'),
100
+ failOnError: true,
101
102
],
103
devServer: {
0 commit comments