mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-12 06:54:58 +00:00
raise exception if both Flow and TypeScript are enabled
This commit is contained in:
parent
4aedeeee9b
commit
7e7b050ae7
@ -216,6 +216,10 @@ if (isTypeScriptEnabled) {
|
|||||||
base.resolve.extensions.push('.ts', '.tsx');
|
base.resolve.extensions.push('.ts', '.tsx');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isFlowEnabled && isTypeScriptEnabled) {
|
||||||
|
throw new Error('isFlowEnabled and isTypeScriptEnabled cannot both be true');
|
||||||
|
}
|
||||||
|
|
||||||
// development config
|
// development config
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user