mirza
mirza
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
@skirianov Magento2 Integration for Vue Storefront 2 is not using .nuxtignore and the ignore rule in nuxt.config.js. I think this is a bug.
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
The issue is no longer occurring after deleting everything and cloning the project from the repo again, but this time devDependencies were installed even though it was a production build.
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
no
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
same version
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
are you using any rule to ignore these folders?
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
I dont know why it scans tests folders while running in production mode
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
I tried on Digital Ocean app platform and had same issue
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
The errors shown are for devDependencies
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
No description
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
yup
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
3. run command yarn build
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
No description
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
1. In you .env file change VSF_NUXT_APP_ENV=production
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
ok thank you
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
it does not even consider the ignore config
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
I have tried without dot
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
Is this ignore rule correct?
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
The issue is that these test paths generate errors while running yarn build in production mode because devDependencies are not loaded in production mode
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
top is ignore rule from nuxt.config.js and at the bottom is example path
42 replies
AAlokai
Created by mirza on 9/15/2023 in #🙋|general-help
How the __tests__ directories can be ignored while running yarn build in production mode.
No description
42 replies