There is no importing test codes. But the build process includes testing node modules(chai, sinon, nise...).
I added codes below on vue.config.js to exclude test files from build. (vue-cli-service build)
chainWebpack: (config) => {
if (process.env.NODE_ENV === 'production') {
config.module.rule('ts').exclude.add(/\.test\.ts$/);
}
},
After adding this code, I got warnings like this.
Is there any solution to exclude test files from build without warning??