fix(web): support for older browsers like Safari 11 on iOS 13.7

This commit is contained in:
Mo
2022-10-31 10:58:55 -05:00
parent 50182fad4f
commit fef1bdf799
8 changed files with 51 additions and 11 deletions

View File

@@ -47,9 +47,9 @@ module.exports = (env) => {
{ from: 'src/500.html' },
{ from: 'src/index.html' },
{ from: 'src/manifest.webmanifest' },
{ from: 'src/robots.txt' }
]
})
{ from: 'src/robots.txt' },
],
}),
],
resolve: {
extensions: ['.ts', '.tsx', '.js'],
@@ -67,7 +67,10 @@ module.exports = (env) => {
rules: [
{
test: /\.(js|tsx?)$/,
exclude: /(node_modules)/,
/**
* @standardnotes/common uses class properties which we need to run through our babel rules.
*/
exclude: /node_modules\/(?!(@standardnotes\/common))/,
use: [
'babel-loader',
{