fix: clean path should be absolute

This commit is contained in:
Igor Randjelovic
2020-11-20 13:02:49 +01:00
committed by Nathan Walker
parent 19d12f13d3
commit caae913257
3 changed files with 7 additions and 8 deletions

View File

@@ -139,7 +139,7 @@ exports[`react configuration > android > adds ReactRefreshWebpackPlugin when HMR
new CleanWebpackPlugin(
{
cleanOnceBeforeBuildPatterns: [
'platforms/android/app/src/main/assets/app/**/*'
'__jest__/platforms/android/app/src/main/assets/app/**/*'
],
verbose: true
}
@@ -314,7 +314,7 @@ exports[`react configuration > android > base config 1`] = `
new CleanWebpackPlugin(
{
cleanOnceBeforeBuildPatterns: [
'platforms/android/app/src/main/assets/app/**/*'
'__jest__/platforms/android/app/src/main/assets/app/**/*'
],
verbose: true
}
@@ -482,7 +482,7 @@ exports[`react configuration > ios > adds ReactRefreshWebpackPlugin when HMR ena
new CleanWebpackPlugin(
{
cleanOnceBeforeBuildPatterns: [
'platforms/ios/__jest__/app/**/*'
'__jest__/platforms/ios/__jest__/app/**/*'
],
verbose: true
}
@@ -660,7 +660,7 @@ exports[`react configuration > ios > base config 1`] = `
new CleanWebpackPlugin(
{
cleanOnceBeforeBuildPatterns: [
'platforms/ios/__jest__/app/**/*'
'__jest__/platforms/ios/__jest__/app/**/*'
],
verbose: true
}

View File

@@ -146,7 +146,7 @@ exports[`vue configuration for android 1`] = `
new CleanWebpackPlugin(
{
cleanOnceBeforeBuildPatterns: [
'platforms/android/app/src/main/assets/app/**/*'
'__jest__/platforms/android/app/src/main/assets/app/**/*'
],
verbose: true
}
@@ -318,7 +318,7 @@ exports[`vue configuration for ios 1`] = `
new CleanWebpackPlugin(
{
cleanOnceBeforeBuildPatterns: [
'platforms/ios/__jest__/app/**/*'
'__jest__/platforms/ios/__jest__/app/**/*'
],
verbose: true
}