config: Use beta deployments

Since our app is deployed under `/beta/insights`, we need to serve the
local files under `/beta` as well. This way we can use the production
chrome and services config.
This commit is contained in:
Sanne Raymaekers 2021-08-04 09:15:08 +02:00 committed by Tom Gundersen
parent 2322d134e6
commit 2b4516856f
3 changed files with 5 additions and 3 deletions

View file

@ -8,7 +8,8 @@ const { config: webpackConfig, plugins } = config({
port: 8002,
useFileHash: false,
modules: [ 'image_builder' ],
sassPrefix: '.image-builder, body'
sassPrefix: '.image-builder, body',
...(process.env.BETA && { deployment: 'beta/apps' }),
});
plugins.push(