build: exclude package that fails to transpile and breaks ios 10

This commit is contained in:
bordun 2020-12-16 10:48:36 +01:00
parent 0332b11560
commit 1e330e21bf
2 changed files with 6 additions and 2 deletions

View file

@ -34,10 +34,13 @@ var bundle = build({
insertGlobals: false,
noParse: ['**/*.min.js', '**/jquery.ui.js'],
cache: {},
packageCache: {}
packageCache: {},
},
plugins: watch ? [require('watchify')] : [],
transforms: transforms
transforms: transforms,
ignore: [
'postcss' // only needed by sanitize-html if <style> is allowed; somehow fails at object spread syntax transpilation
]
})
if (watch) {