Skip to content

Commit

Permalink
Update warnings from replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferbaxter committed Mar 16, 2021
1 parent 5b9386b commit b7c11b3
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 17 deletions.
30 changes: 24 additions & 6 deletions config/rollup.main-thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const ESModules = [
removeWorkerWhitespace(),
removeDebugCommandExecutors(),
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -51,7 +54,10 @@ const ESModules = [
plugins: [
removeWorkerWhitespace(),
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -70,7 +76,10 @@ const ESModules = [
removeWorkerWhitespace(),
removeDebugCommandExecutors(),
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -90,7 +99,10 @@ const ESModules = [
plugins: [
removeWorkerWhitespace(),
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -113,7 +125,10 @@ const IIFEModules = [
removeWorkerWhitespace(),
removeDebugCommandExecutors(),
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand All @@ -134,7 +149,10 @@ const IIFEModules = [
plugins: [
removeWorkerWhitespace(),
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand Down
55 changes: 44 additions & 11 deletions config/rollup.worker-thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -60,7 +63,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -78,7 +84,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand Down Expand Up @@ -112,7 +121,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand All @@ -131,7 +143,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand All @@ -149,7 +164,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -168,7 +186,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: false,
Expand All @@ -186,7 +207,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand All @@ -205,7 +229,10 @@ const ESModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand All @@ -226,7 +253,10 @@ const IIFEModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: false,
values: {
WORKER_DOM_DEBUG: false,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand All @@ -245,7 +275,10 @@ const IIFEModules = [
},
plugins: [
replace({
WORKER_DOM_DEBUG: true,
values: {
WORKER_DOM_DEBUG: true,
},
preventAssignment: true,
}),
babelPlugin({
transpileToES5: true,
Expand Down

0 comments on commit b7c11b3

Please sign in to comment.