Skip to content

Commit

Permalink
add RelativeCiAgentWebpackPlugin back to webpack config for utopia-de…
Browse files Browse the repository at this point in the history
…ploy to use
  • Loading branch information
balazsbajorics committed Sep 21, 2021
1 parent 237a09b commit 2d50b90
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 0 deletions.
172 changes: 172 additions & 0 deletions editor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
"@hot-loader/react-dom": "16.13.0",
"@jest-runner/electron": "3.0.0",
"@react-three/fiber": "7.0.1",
"@relative-ci/agent": "^2.1.0",
"@testing-library/react": "9.1.4",
"@testing-library/react-hooks": "5.1.2",
"@types/chai": "3.5.1",
Expand Down
5 changes: 5 additions & 0 deletions editor/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin')
const TerserPlugin = require('terser-webpack-plugin')
const path = require('path')
const webpack = require('webpack')
const { RelativeCiAgentWebpackPlugin } = require('@relative-ci/agent')

const Production = 'production'
const Staging = 'staging'
Expand Down Expand Up @@ -195,6 +196,10 @@ const config = {
}),

new webpack.ProvidePlugin({ BrowserFS: 'browserfs' }), // weirdly, the browserfs/dist/shims/fs shim assumes a global BrowserFS being available

new RelativeCiAgentWebpackPlugin({
includeCommitMessage: false,
}),
],

resolve: {
Expand Down

0 comments on commit 2d50b90

Please sign in to comment.