support edge 18 maybe

Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
Danny Coates 2020-07-29 14:00:48 -07:00 committed by timvisee
parent 4e9625ef36
commit c44c4ba41c
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
2 changed files with 5 additions and 3 deletions

View file

@ -2,4 +2,5 @@ last 2 chrome versions
last 2 firefox versions last 2 firefox versions
last 2 safari versions last 2 safari versions
last 2 edge versions last 2 edge versions
edge 18
firefox esr firefox esr

View file

@ -12,6 +12,7 @@ const webJsOptions = {
[ [
'@babel/preset-env', '@babel/preset-env',
{ {
bugfixes: true,
useBuiltIns: 'entry', useBuiltIns: 'entry',
corejs: 3 corejs: 3
} }
@ -78,9 +79,9 @@ const serviceWorker = {
const web = { const web = {
target: 'web', target: 'web',
entry: { entry: {
app: ['./app/main.js'], app: ['./app/main.js']
android: ['./android/android.js'], // android: ['./android/android.js'],
ios: ['./ios/ios.js'] // ios: ['./ios/ios.js']
}, },
output: { output: {
chunkFilename: '[name].[contenthash:8].js', chunkFilename: '[name].[contenthash:8].js',