message: properly ignore all test files for prod build
diff: @@ -3,6 +3,13 @@ const isProduction = NODE_ENV === 'production';
  const isDevelopment = NODE_ENV === 'development';
  const useModules = isProduction || isDevelopment;
  +const testFiles = [
  + './src/**/*.test.ts', './src/**/*.test.tsx',
  + './src/**/*.spec.ts', './src/**/*.spec.tsx',
  + './src/**/*.e2e.ts', './src/**/*.e2e.tsx',
  + './e2e/', './src/testing/',
  +];
  +
  module.exports = {
  presets: [
  ['@babel/preset-env', { modules: useModules ? false : 'commonjs' }],
  @@ -10,6 +17,5 @@ module.exports = {
  '@babel/preset-typescript'
  ],
  plugins: ['@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-transform-runtime'],
  - ignore: ['./src/vkui.js'].concat(
  - isProduction ? ['./src/**/*.test.ts', './src/**/*.test.tsx', './src/**/*.spec.ts', './src/**/*.spec.tsx', './e2e', './src/testing'] : []),
  + ignore: ['./src/vkui.js'].concat(isProduction ? testFiles : []),
  };
  