Skip to content

Commit

Permalink
Merge pull request #12245 from rak-phillip/bugfix/12244-remove-build-…
Browse files Browse the repository at this point in the history
…tests

Remove tests from bundle
  • Loading branch information
rak-phillip authored Oct 14, 2024
2 parents d01a49b + a702995 commit 49829da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {}),
Expand Down

0 comments on commit 49829da

Please sign in to comment.