Closed RyaiStudio closed 2 years ago
Hello @RyaiStudio. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction
will be closed if they have no activity within 3 days.
We'll need a minimal reproduction to debug your issue, thanks!
you can try
build: {
commonjsOptions: {
transformMixedEsModules: true,
},
}
Describe the bug
Uncaught ReferenceError: require is not defined - after including splitVendorChunkPlugin on vite.config.js
Hello Guy's I'm encountering issue on BUILD after including
splitVendorChunkPlugin
for chunking strategy divided the chunks intoindex
andvendor
Reproduction
unable to provide production build
System Info
Used Package Manager
npm
Logs
npm run vite:build
vite:config bundled config file loaded in 1784.76ms +0ms vite:config using resolved config: { vite:config plugins: [ vite:config 'vite:build-metadata', vite:config 'alias', vite:config 'svg-loader', vite:config 'vite:modulepreload-polyfill', vite:config 'vite:resolve', vite:config 'vite:html-inline-proxy', vite:config 'vite:css', vite:config 'vite:esbuild', vite:config 'vite:json', vite:config 'vite:wasm', vite:config 'vite:worker', vite:config 'vite:asset', vite:config 'vite:vue', vite:config 'vite-plugin-eslint', vite:config 'vite-plugin-externals', vite:config 'vite:split-vendor-chunk', vite:config 'vite-plugin-ejs', vite:config 'vite:define', vite:config 'vite:css-post', vite:config 'vite:build-html', vite:config 'vite:worker-import-meta-url', vite:config 'vite:watch-package-data', vite:config 'commonjs', vite:config 'vite:data-uri', vite:config 'rollup-plugin-dynamic-import-variables', vite:config 'vite:asset-import-meta-url', vite:config 'vite:build-import-analysis', vite:config 'vite:esbuild-transpile', vite:config 'vite:terser', vite:config 'vite:reporter', vite:config 'vite:load-fallback' vite:config ], vite:config css: { postcss: { plugins: [Array] } }, vite:config build: { vite:config target: 'es2019', vite:config polyfillModulePreload: true, vite:config outDir: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/dist', vite:config assetsDir: '.', vite:config assetsInlineLimit: 4096, vite:config cssCodeSplit: true, vite:config cssTarget: 'es2019', vite:config sourcemap: false, vite:config rollupOptions: { output: [Object] }, vite:config minify: 'terser', vite:config terserOptions: {}, vite:config write: true, vite:config emptyOutDir: null, vite:config manifest: false, vite:config lib: false, vite:config ssr: false, vite:config ssrManifest: false, vite:config reportCompressedSize: true, vite:config chunkSizeWarningLimit: 500, vite:config watch: null, vite:config libs: { vite:config entry: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/entry/index.js', vite:config formats: [Array] vite:config }, vite:config commonjsOptions: { include: [Array], extensions: [Array] }, vite:config dynamicImportVarsOptions: { warnOnError: true, exclude: [Array] } vite:config }, vite:config resolve: { vite:config dedupe: undefined, vite:config alias: [ vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object] vite:config ] vite:config }, vite:config base: '', vite:config define: { vite:config 'process.env': { vite:config npm_config_save_dev: '', vite:config npm_config_legacy_bundling: '', vite:config npm_config_dry_run: '', vite:config npm_package_engines_npm: '>=6', vite:config npm_package_devDependencies_xutil: '1', vite:config npm_package_scripts_build_online: 'npm run clean:online && RUN_MODE=online node build/build.js', vite:config NVM_RC_VERSION: '', vite:config npm_config_viewer: 'man', vite:config npm_config_only: '', vite:config npm_config_commit_hooks: 'true', vite:config npm_config_browser: '', vite:config npm_package_gitHead: 'f5ff2299d287e71d9341d58e47f433dfd7fb32d3', vite:config npm_package_devDependencies_postcss_import: '^11.0.0', vite:config SPACESHIP_VERSION: '3.16.3', vite:config npm_config_also: '', vite:config npm_package_publishConfig_registry: 'https://npm-mynt.marmot-cloud.com', vite:config npm_config_sign_git_commit: '', vite:config npm_config_rollback: 'true', vite:config npm_package_devDependencies_url_loader: '^0.5.8', vite:config TERM_PROGRAM: 'iTerm.app', vite:config NODE: '/usr/local/bin/node', vite:config npm_config_usage: '', vite:config npm_config_audit: 'true', vite:config npm_package_devDependencies_file_loader: '^1.1.11', vite:config INIT_CWD: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web', vite:config npm_package_devDependencies_friendly_errors_webpack_plugin: '^1.7.0', vite:config npm_package_scripts_vite_build: 'vite build --debug --config vite-config/prod.config.js && tar czf dist.tgz dist', vite:config NVM_CD_FLAGS: '-q', vite:config npm_config_globalignorefile: '/usr/local/etc/npmignore', vite:config npm_package_devDependencies_vite: '^2.9.5', vite:config npm_package_devDependencies_babel_plugin_transform_runtime: '^6.23.0', vite:config TERM: 'xterm-256color', vite:config SHELL: '/bin/zsh', vite:config npm_config_shell: '/bin/zsh', vite:config npm_config_maxsockets: '50', vite:config npm_config_init_author_url: '', vite:config npm_package_dependencies_postcss_plugin_px2rem: '^0.8.1', vite:config npm_package_devDependencies_babel_plugin_istanbul: '^4.1.5', vite:config npm_config_shrinkwrap: 'true', vite:config npm_config_parseable: '', vite:config npm_config_metrics_registry: 'https://npm-mynt.marmot-cloud.com/', vite:config npm_package_devDependencies_webpack_merge: '^4.1.0', vite:config npm_package_scripts_downgrade_webdriver_server: 'npm i -D webdriver-server@1.1.7', vite:config TMPDIR: '/var/folders/q6/yk6_n6ds7s58rd_vxvl5jjtc0000gn/T/', vite:config npm_config_timing: '', vite:config npm_config_init_license: 'ISC', vite:config npm_package_scripts_lint: "eslint --ext .js,.vue src test config build --fix && stylelint 'src/styles/*/.less' 'commom/*/.less' -s less", vite:config npm_config_if_present: '', vite:config npm_package_devDependencies_babel_plugin_transform_object_rest_spread: '^6.23.0', vite:config npm_package_devDependencies_babel_core: '^6.22.1', vite:config TERM_PROGRAM_VERSION: '3.4.16', vite:config npm_package_devDependenciesvitejs_plugin_vue: '^2.3.1', vite:config npm_package_scripts_dev: 'cross-env NODE_ENV=development MOCK=true webpack-dev-server --inline --disable-host-check --config build/webpack.dev.conf.js', vite:config ANDROID_SDK_ROOT: '/Users/ryanpagaduan/Library/Android/sdk', vite:config npm_config_sign_git_tag: '', vite:config npm_config_init_author_email: '', vite:config npm_config_cache_max: 'Infinity', vite:config npm_config_preid: '', vite:config npm_config_long: '', vite:config npm_config_local_address: '', vite:config npm_config_git_tag_version: 'true', vite:config npm_config_cert: '', vite:config npm_package_devDependencies_webpack_bundle_analyzer: '^2.9.0', vite:config TERM_SESSION_ID: 'w0t0p0:C838952A-ACA0-495D-A31C-D80D9CC37B1F', vite:config npm_config_noproxy: '', vite:config npm_config_fetch_retries: '2', vite:config npm_config_registry: 'https://npm-mynt.marmot-cloud.com/', vite:config npm_package_devDependenciesrushstack_eslint_patch: '^1.1.3', vite:config npm_package_scripts_dev_test: 'cross-env NODE_ENV=test MOCK=true webpack-dev-server --inline --disable-host-check --config build/webpack.test.conf.js', vite:config npm_package_private: 'true', vite:config npm_package_devDependencies_stylelint_config_antife: '^1.0.0', vite:config ZSH: '/Users/ryanpagaduan/.oh-my-zsh', vite:config npm_config_versions: '', vite:config npm_config_message: '+69ms', vite:config npm_config_key: '', vite:config npm_package_readmeFilename: 'README.md', vite:config npm_package_devDependencies_svg_sprite_loader: '^3.8.0', vite:config npm_package_devDependencies_awesome_ejs_compiled_loader: '^1.0.0', vite:config npm_package_devDependencies_webpack: '^4.10.0', vite:config npm_package_description: 'gcash zoloz webapp', vite:config NVM_DIR: '/Users/ryanpagaduan/.nvm', vite:config USER: 'ryanpagaduan', vite:config npm_package_devDependencies_webpack_cli: '^3.1.0', vite:config npm_package_devDependencies_babel_preset_stage_2: '^6.22.0', vite:config npm_package_dependenciesmynt_gcash_sea: '^1.2.2', vite:config npm_package_devDependencies_sqlite3: '^5.0.8', vite:config npm_package_devDependencies_postcss_loader: '^2.0.8', vite:config npm_package_devDependencies_less_loader: '^4.1.0', vite:config npm_package_devDependencies_eslint_loader: '^2.0.0', vite:config npm_package_devDependencies_datahub_proxy_middleware: '^1.0.5', vite:config npm_package_scripts_v_test: 'npm run clean:test && cross-env MACACA_ELECTRON_DEVTOOLS=1 NODE_ENV=test macaca run -d ./vite-test', vite:config COMMAND_MODE: 'unix2003', vite:config npm_config_globalconfig: '/usr/local/etc/npmrc', vite:config npm_package_dependencies_whatwg_fetch: '^2.0.4', vite:config npm_package_devDependencies_vuex: '^4.0.2', vite:config npm_package_devDependencies_vite_plugin_html: '^3.2.0', vite:config npm_package_devDependencies_eslint_friendly_formatter: '^3.0.0', vite:config npm_config_prefer_online: '', vite:config npm_config_logs_max: '10', vite:config npm_config_always_auth: '', vite:config npm_package_dependencies_awesome_fastclick: '^1.0.6', vite:config npm_package_devDependencies_webpack_dev_server: '^3.1.4', vite:config npm_package_dependencies_vite_svg_loader: '^3.4.0', vite:config npm_package_contributors_2_name: 'Yvonne', vite:config npm_package_devDependencies_babel_loader: '^7.1.1', vite:config SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.LmsPwgskdB/Listeners', vite:config npm_package_dependenciesmynt_tracert_mdap: '^1.1.1', vite:config npm_package_devDependencies_postcss_pxtorem: '^6.0.0', vite:config npm_package_devDependencies_less: '^3.0.1', vite:config npm_package_devDependencies_eslint: '^8.17.0', vite:config CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0', vite:config npm_execpath: '/usr/local/lib/node_modules/npm/bin/npm-cli.js', vite:config npm_config_global_style: '', vite:config npm_config_cache_lock_retries: '10', vite:config npm_package_devDependencies_vue3_carousel: '^0.1.40', vite:config npm_package_scripts_vite_dev: 'cross-env NODE_ENV=test MOCK=true SPMLOG_ENABLE=false vite --host --config vite-config/dev.config.js', vite:config npm_config_update_notifier: 'true', vite:config npm_config_cafile: '', vite:config npm_package_devDependencies_vite_plugin_ejs: '^1.4.4', vite:config PAGER: 'less', vite:config npm_config_heading: 'npm', vite:config npm_config_audit_level: 'low', vite:config npm_package_devDependencies_uglifyjs_webpack_plugin: '^1.1.2', vite:config npm_package_devDependencies_mini_css_extract_plugin: '^0.4.0', vite:config npm_package_devDependencies_copy_webpack_plugin: '^4.0.1', vite:config LSCOLORS: 'Gxfxcxdxbxegedabagacad', vite:config npm_config_searchlimit: '20', vite:config npm_config_read_only: '', vite:config npm_config_offline: '', vite:config npm_config_fetch_retry_mintimeout: '10000', vite:config npm_package_devDependencies_vite_plugin_eslint: '^1.6.1', vite:config npm_config_json: '', vite:config npm_config_access: '', vite:config npm_config_argv: '{"remain":[],"cooked":["run","vite:build"],"original":["run","vite:build"]}', vite:config npm_package_scripts_test_single: 'npm run clean:test && cross-env NODE_ENV=test macaca run -d', vite:config PATH: '/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/node_modules/.bin:/Users/ryanpagaduan/Library/Android/sdk/platform-tools:/Users/ryanpagaduan/Library/Android/sdk/tools/bin:/Users/ryanpagaduan/Library/Android/sdk/tools:/Users/ryanpagaduan/Library/Android/sdk/emulator:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin', vite:config npm_config_allow_same_version: '', vite:config npm_package_contributors_1_email: 'louie.decatoria@mynt.xyz', vite:config npm_package_devDependencies_eslint_plugin_babel: '^4.1.2', vite:config npm_package_devDependenciesvue_compat: '^3.1.0', vite:config npm_config_https_proxy: '', vite:config npm_config_engine_strict: '', vite:config npm_config_description: 'true', vite:config npm_package_scripts_vite_e2e: 'cross-env NODEENV=development vite --host --config vite-config/e2e.config.js', vite:config : '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/node_modules/.bin/vite', vite:config LaunchInstanceID: 'E23A8646-9B80-43DD-9984-B1C3586B4E67', vite:config npm_config_userconfig: '/Users/ryanpagaduan/.npmrc', vite:config npm_config_init_module: '/Users/ryanpagaduan/.npm-init.js', vite:config npm_package_devDependencies_postcss_px2rem: '^0.3.0', vite:config CFBundleIdentifier: 'com.googlecode.iterm2', vite:config npm_config_cidr: '', vite:config PWD: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web', vite:config npm_config_user: '', vite:config npm_config_node_version: '12.22.12', vite:config npm_package_dependencies_core_js: '^2.5.7', vite:config npm_lifecycle_event: 'vite:build', vite:config npm_package_devDependencies_image2svg_loader: '^0.10.0', vite:config npm_package_devDependencies_chai: '^4.1.2', vite:config npm_config_save: 'true', vite:config npm_config_ignore_prepublish: '', vite:config npm_config_editor: 'vi', vite:config npm_config_auth_type: 'legacy', vite:config npm_package_devDependencies_vue_style_loader: '^4.1.0', vite:config npm_package_devDependencies_vue: '^3.2.34', vite:config npm_package_devDependencies_eslint_plugin_mocha: '^10.1.0', vite:config npm_package_devDependencies_eslint_config_antife: '^1.0.0', vite:config npm_package_scripts_clean_test: 'rm -rf screenshots reports coverage', vite:config npm_package_name: 'gcash-zoloz-web', vite:config ANDROID_SDK: '/Users/ryanpagaduan/Library/Android/sdk', vite:config npm_config_tag: 'latest', vite:config npm_config_script_shell: '', vite:config npm_package_devDependencies_eslint_plugin_html: '^4.0.1', vite:config ITERM_PROFILE: 'Default', vite:config npm_config_progress: 'true', vite:config npm_config_global: '', vite:config npm_config_before: '', vite:config npm_package_scripts_build: 'RUN_MODE=off node build/build.js && tar czf dist.tgz dist', vite:config npm_config_searchstaleness: '900', vite:config npm_config_optional: 'true', vite:config npm_config_ham_it_up: '', vite:config npm_package_contributors_0_email: 'bernardo.tolosa@mynt.xyz', vite:config npm_package_devDependencies_apfe_cli: '^1.5.0', vite:config XPC_FLAGS: '0x0', vite:config npm_config_save_prod: '', vite:config npm_config_force: '', vite:config npm_config_bin_links: 'true', vite:config npm_package_devDependencies_vue_router: '^4.0.16', vite:config npm_package_devDependencies_stylelint: '^7.13.0', vite:config npm_package_devDependencies_moment: '^2.29.3', vite:config npm_package_devDependencies_macaca_wd: '^3.3.7', vite:config npm_config_searchopts: '', vite:config npm_package_engines_node: '>=8', vite:config npm_package_devDependencies_pre_commit: '^1.2.2', vite:config npm_package_devDependencies_node_notifier: '^5.1.2', vite:config npm_package_scripts_clean_online: 'rm -rf dist ._temp', vite:config npm_config_node_gyp: '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js', vite:config npm_config_depth: 'Infinity', vite:config npm_config_sso_poll_frequency: '500', vite:config npm_config_rebuild_bundle: 'true', vite:config npm_package_devDependencies_macaca_electron: '2', vite:config npm_package_version: '1.5.2', vite:config SPACESHIP_ROOT: '/Users/ryanpagaduan/.oh-my-zsh/custom/themes/spaceship-prompt', vite:config XPC_SERVICE_NAME: '0', vite:config npm_config_unicode: 'true', vite:config npm_package_devDependencies_babel_plugin_transform_regenerator: '^6.26.0', vite:config npm_package_devDependencies_autoprefixer: '^10.4.7', vite:config SHLVL: '2', vite:config HOME: '/Users/ryanpagaduan', vite:config COLORFGBG: '15;0', vite:config npm_config_fetch_retry_maxtimeout: '60000', vite:config npm_package_dependencies_vue3_radial_progress: '^1.1.1', vite:config npm_package_devDependencies_eslint_plugin_vue: '^9.1.0', vite:config npm_package_scripts_test: 'npm run clean:test && npm run downgrade-webdriver-server && cross-env NODE_ENV=test macaca run -d ./test', vite:config npm_package_scripts_dev_partial_mock: 'cross-env NODE_ENV=development MOCK=true PARTIAL_MOCK=true webpack-dev-server --inline --disable-host-check --config build/webpack.dev.conf.js', vite:config npm_config_tag_version_prefix: 'v', vite:config npm_config_strict_ssl: 'true', vite:config npm_config_sso_type: 'oauth', vite:config npm_config_scripts_prepend_node_path: 'warn-only', vite:config npm_config_save_prefix: '^', vite:config npm_config_loglevel: 'notice', vite:config npm_config_ca: '', vite:config npm_package_devDependencies_vite_plugin_terminal: '^1.0.1', vite:config npm_package_scripts_serve: 'npm run dev:test &', vite:config ANDROID_AVD_HOME: '/Users/ryanpagaduan/.android/and', vite:config LC_TERMINAL_VERSION: '3.4.16', vite:config npm_config_save_exact: '', vite:config npm_config_group: '20', vite:config npm_config_fetch_retry_factor: '10', vite:config npm_config_dev: '', vite:config npm_package_devDependencies_ora: '^1.3.0', vite:config npm_package_devDependencies_cross_env: '^5.1.2', vite:config npm_package_devDependencies_babel_eslint: '^8.0.3', vite:config npm_config_version: '', vite:config npm_config_prefer_offline: '', vite:config npm_config_cache_lock_stale: '60000', vite:config npm_package_browserslist_2: 'not ie <= 8', vite:config npm_config_otp: '', vite:config npm_config_cache_min: '10', vite:config npm_package_dependencies_chalk: '^4.1.2', vite:config npm_package_browserslist_1: 'last 2 versions', vite:config npm_package_devDependencies_vue_loader: '^17.0.0', vite:config npm_package_devDependencies_babel_preset_env: '^1.3.2', vite:config ITERM_SESSION_ID: 'w0t0p0:C838952A-ACA0-495D-A31C-D80D9CC37B1F', vite:config npm_config_searchexclude: '', vite:config npm_config_cache: '/Users/ryanpagaduan/.npm', vite:config npm_package_browserslist_0: '> 1%', vite:config npm_package_devDependencies_html_webpack_plugin: '^3.2.0', vite:config LESS: '-R', vite:config LOGNAME: 'ryanpagaduan', vite:config npm_lifecycle_script: 'vite build --debug --config vite-config/prod.config.js && tar czf dist.tgz dist', vite:config npm_config_color: 'true', vite:config npm_config_proxy: '', vite:config npm_config_package_lock: 'true', vite:config npm_package_devDependencies_vite_plugin_externals: '^0.5.0', vite:config LC_CTYPE: 'UTF-8', vite:config npm_config_package_lock_only: '', vite:config npm_config_fund: 'true', vite:config npm_package_devDependencies_macaca_datahub: '2.4.0', vite:config npm_config_save_optional: '', vite:config npm_config_ignore_scripts: '', vite:config npm_config_user_agent: 'npm/6.14.16 node/v12.22.12 darwin x64', vite:config npm_package_devDependenciesvue_compiler_sfc: '^3.1.0', vite:config npm_package_scripts_v_lint: "eslint --ext .js,.vue test vite-files vite-config --fix && stylelint 'vite-files/styles/*/.less' -s less", vite:config npm_package_scripts_dev_e2e: 'cross-env NODE_ENV=development webpack-dev-server --inline --disable-host-check --config build/webpack.dev.conf.js', vite:config npm_config_cache_lock_wait: '10000', vite:config npm_package_contributors_2_email: 'shengshi.zss@antfin.com', vite:config npm_config_production: '', vite:config LC_TERMINAL: 'iTerm2', vite:config npm_config_send_metrics: '', vite:config npm_config_save_bundle: '', vite:config npm_config_umask: '0022', vite:config npm_config_node_options: '', vite:config npm_config_init_version: '1.0.0', vite:config npm_package_contributors_0_name: 'Bernard', vite:config npm_package_devDependencies_ap_mini_ui: '^2.0.0', vite:config npm_config_init_author_name: '', vite:config npm_config_git: 'git', vite:config npm_config_scope: '', vite:config npm_package_devDependencies_macaca_cli: '2', vite:config npm_package_devDependencies_css_loader: '^0.28.0', vite:config SECURITYSESSIONID: '186a5', vite:config npm_config_unsafe_perm: 'true', vite:config npm_config_tmp: '/var/folders/q6/yk6_n6ds7s58rd_vxvl5jjtc0000gn/T', vite:config npm_config_onload_script: '', vite:config npm_node_execpath: '/usr/local/bin/node', vite:config npm_config_prefix: '/usr/local', vite:config npm_config_link: '', vite:config npm_config_format_package_lock: 'true', vite:config npm_package_dependencies__mynt_ap_js_sdk: '1.5.0', vite:config npm_package_contributors_1_name: 'Louie', vite:config npm_package_devDependencies_optimize_css_assets_webpack_plugin: '^4.0.2', vite:config COLORTERM: 'truecolor', vite:config DEBUG: 'vite:*', vite:config NODE_ENV: 'production' vite:config }, vite:config VUE_OPTIONS_API: true, vite:config VUE_PROD_DEVTOOLS: false vite:config }, vite:config configFile: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-config/prod.config.js', vite:config ssr: { external: [ 'vue', '@vue/server-renderer' ] }, vite:config configFileDependencies: [ vite:config '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-config/build/postcss.config.js', vite:config '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-config/build/rollup.config.js', vite:config '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-config/utils.js', vite:config '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-config/base.config.js', vite:config '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-config/prod.config.js' vite:config ], vite:config inlineConfig: { vite:config root: undefined, vite:config base: undefined, vite:config mode: undefined, vite:config configFile: 'vite-config/prod.config.js', vite:config logLevel: undefined, vite:config clearScreen: undefined, vite:config build: {} vite:config }, vite:config root: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web', vite:config publicDir: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/public', vite:config cacheDir: '/Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/node_modules/.vite', vite:config command: 'build', vite:config mode: 'production', vite:config isWorker: false, vite:config isProduction: true, vite:config server: { vite:config preTransformRequests: true, vite:config fs: { strict: true, allow: [Array], deny: [Array] } vite:config }, vite:config preview: { vite:config port: undefined, vite:config strictPort: undefined, vite:config host: undefined, vite:config https: undefined, vite:config open: undefined, vite:config proxy: undefined, vite:config cors: undefined, vite:config headers: undefined vite:config }, vite:config env: { BASE_URL: '', MODE: 'production', DEV: false, PROD: true }, vite:config assetsInclude: [Function: assetsInclude], vite:config logger: { vite:config hasWarned: false, vite:config info: [Function: info], vite:config warn: [Function: warn], vite:config warnOnce: [Function: warnOnce], vite:config error: [Function: error], vite:config clearScreen: [Function: clearScreen], vite:config hasErrorLogged: [Function: hasErrorLogged] vite:config }, vite:config packageCache: Map { set: [Function] }, vite:config createResolver: [Function: createResolver], vite:config optimizeDeps: { vite:config esbuildOptions: { keepNames: undefined, preserveSymlinks: undefined } vite:config }, vite:config worker: { vite:config format: 'iife', vite:config plugins: [ vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object], [Object], [Object], vite:config [Object] vite:config ], vite:config rollupOptions: {} vite:config } vite:config } vite v2.9.9 building for production... transforming (4) vite-files/plugins/index.js vite:resolve 0.99ms ./core/variables.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/styles/core/variables.less +0ms vite:resolve 1.05ms ./core/mixins.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/styles/core/mixins.less +0ms vite:resolve 1.10ms ./core/normalize.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/styles/core/normalize.less +0ms vite:resolve 1.15ms ./core/scaffolding.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/styles/core/scaffolding.less +0ms vite:resolve 1.82ms ./core/fonts.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/styles/core/fonts.less +0ms vite:resolve 2.63ms ../assets/fonts/Poppins-Regular.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/Poppins-Regular.otf +0ms vite:resolve 2.70ms ../assets/fonts/Poppins-SemiBold.ttf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/Poppins-SemiBold.ttf +0ms vite:resolve 2.73ms ../assets/fonts/Karla-Regular.ttf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/Karla-Regular.ttf +0ms vite:resolve 2.76ms ../assets/fonts/Karla-Bold.ttf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/Karla-Bold.ttf +0ms vite:resolve 2.79ms ../assets/fonts/gotham/GothamRounded-Light.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-Light.otf +0ms vite:resolve 2.82ms ../assets/fonts/gotham/GothamRounded-Book.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-Book.otf +0ms vite:resolve 2.86ms ../assets/fonts/gotham/GothamRounded-Medium.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-Medium.otf +0ms vite:resolve 2.89ms ../assets/fonts/gotham/GothamRounded-Bold.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-Bold.otf +0ms vite:resolve 2.91ms ../assets/fonts/gotham/GothamRounded-LightItalic.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-LightItalic.otf +0ms vite:resolve 2.94ms ../assets/fonts/gotham/GothamRounded-BookItalic.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-BookItalic.otf +0ms vite:resolve 2.97ms ../assets/fonts/gotham/GothamRounded-MediumItalic.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-MediumItalic.otf +0ms vite:resolve 2.99ms ../assets/fonts/gotham/GothamRounded-BoldItalic.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gotham/GothamRounded-BoldItalic.otf +0ms vite:resolve 3.02ms ../assets/fonts/gilroy/RadomirTinkov-Gilroy-Light.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gilroy/RadomirTinkov-Gilroy-Light.otf +0ms vite:resolve 3.05ms ../assets/fonts/gilroy/RadomirTinkov-Gilroy-Regular.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gilroy/RadomirTinkov-Gilroy-Regular.otf +0ms vite:resolve 3.07ms ../assets/fonts/gilroy/RadomirTinkov-Gilroy-Medium.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gilroy/RadomirTinkov-Gilroy-Medium.otf +0ms vite:resolve 3.73ms ../assets/fonts/gilroy/RadomirTinkov-Gilroy-Bold.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gilroy/RadomirTinkov-Gilroy-Bold.otf +0ms vite:resolve 3.77ms ../assets/fonts/gilroy/RadomirTinkov-Gilroy-SemiBold.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gilroy/RadomirTinkov-Gilroy-SemiBold.otf +0ms vite:resolve 3.80ms ../assets/fonts/gilroy/RadomirTinkov-Gilroy-ExtraBold.otf -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/assets/fonts/gilroy/RadomirTinkov-Gilroy-ExtraBold.otf +0ms transforming (110) vite-files/constants/error.js vite:resolve 0.23ms ./styles.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/components/VerifyStep/styles.less +2s vite:resolve 0.26ms ./styles.less -> /Users/ryanpagaduan/Projects/mynt-proj/gcash-zoloz-web/vite-files/components/FeatureStep/styles.less +45ms ✓ 577 modules transformed. dist/fonts/Karla-Bold.6916f291.ttf 17.45 KiB dist/fonts/Karla-Regular.e2e0c223.ttf 16.42 KiB dist/fonts/RadomirTinkov-Gilroy-Regular.11f0395a.otf 52.58 KiB dist/fonts/RadomirTinkov-Gilroy-Medium.6f836776.otf 53.68 KiB dist/fonts/RadomirTinkov-Gilroy-Bold.34273b76.otf 54.08 KiB dist/fonts/RadomirTinkov-Gilroy-Light.67bf49bb.otf 53.25 KiB dist/fonts/RadomirTinkov-Gilroy-ExtraBold.0133989f.otf 53.49 KiB dist/fonts/RadomirTinkov-Gilroy-SemiBold.60d34dcf.otf 53.92 KiB dist/fonts/Poppins-Regular.45ad3c79.otf 92.95 KiB dist/fonts/GothamRounded-Bold.c20d91cd.otf 124.31 KiB dist/fonts/GothamRounded-Light.a76af0de.otf 124.52 KiB dist/fonts/GothamRounded-LightItalic.0af6987e.otf 123.70 KiB dist/fonts/GothamRounded-BoldItalic.553451b6.otf 127.84 KiB dist/fonts/GothamRounded-Book.b249bb0d.otf 127.36 KiB dist/fonts/Poppins-SemiBold.1d665d5b.ttf 138.82 KiB dist/fonts/GothamRounded-Medium.c4bcf6fc.otf 130.31 KiB dist/fonts/GothamRounded-BookItalic.f551ee24.otf 131.64 KiB dist/fonts/GothamRounded-MediumItalic.5f9e88de.otf 130.43 KiB dist/img/feature.5a72960a.png 6.21 KiB dist/img/steps.0c7a6ab4.png 12.69 KiB dist/img/modal_banner.d46d6fef.png 27.36 KiB dist/img/video.259b60c4.png 57.18 KiB dist/img/card-limit.900d1352.png 49.31 KiB dist/img/card-ituser.ce867634.png 124.94 KiB dist/img/VerificationLevels.43735ec7.png 351.78 KiB dist/img/mobile.2aefb1b2.png 210.81 KiB dist/img/id-review.60a87c1a.png 313.05 KiB dist/img/selfie.e365bad3.png 389.36 KiB dist/img/card-banner.c0f7192f.png 850.16 KiB dist/index.html 6.53 KiB dist/css/index.fa327124.css 42.00 KiB / gzip: 7.18 KiB dist/js/vendor.6694fcaa.js 195.21 KiB / gzip: 67.87 KiB dist/js/index.7715c7a9.js 390.48 KiB / gzip: 142.56 KiB
Validations