Remove tests from build artifacts

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
Phillip Rak 2024-10-11 13:53:40 -07:00
parent 994b21a108
commit a70299555b
1 changed files with 2 additions and 0 deletions

View File

@ -551,6 +551,8 @@ module.exports = function(dir, _appConfig) {
// The static assets need to be in the built assets directory in order to get served (primarily the favicon)
config.plugins.push(new CopyWebpackPlugin({ patterns: [{ from: path.join(SHELL_ABS, 'static'), to: '.' }] }));
config.plugins.push(new webpack.IgnorePlugin({ resourceRegExp: /\/__tests__\// }));
config.resolve.extensions.push(...['.tsx', '.ts', '.js', '.vue', '.scss']);
config.watchOptions = {
...(config.watchOptions || {}),