fix(mobile): fixes issue where app would not load on iOS 13 + 14

This commit is contained in:
Mo
2023-02-11 14:29:11 -06:00
parent ad74cde42b
commit 088804dee1

View File

@@ -66,9 +66,10 @@ module.exports = (env) => {
{ {
test: /\.(js|tsx?)$/, test: /\.(js|tsx?)$/,
/** /**
* @standardnotes/common uses class properties which we need to run through our babel rules. * Exclude all node_modules, except for those we need to run through our babel rules because
* they may contain class properties and other ES6+ syntax.
*/ */
exclude: /node_modules\/(?!(@standardnotes\/common))/, exclude: /node_modules\/(?!(@standardnotes\/common|@standardnotes\/domain-core|contactjs))/,
use: [ use: [
'babel-loader', 'babel-loader',
{ {