test: fix apps/automated

This commit is contained in:
rigor789
2021-08-04 20:20:19 +02:00
parent 4c547bb00c
commit 90deb5b1ee
2 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
{
"main": "main.js"
}

View File

@@ -7,9 +7,16 @@ module.exports = (env) => {
env = env || {};
const baseConfig = webpackConfig(env);
baseConfig.plugins.push(new CopyWebpackPlugin([
{ from: { glob: 'ui/web-view/*.html', dot: false } }
]))
baseConfig.plugins.push(new CopyWebpackPlugin({
patterns: [
{
from: 'ui/web-view/*.html',
globOptions: {
dot: false
}
}
]
}))
baseConfig.plugins.push(new webpack.DefinePlugin({
__CI__: !!process.env.CI