Compat build: specify target browsers
To make compat build more deterministic. Fixes #804
This commit is contained in:
parent
161b034367
commit
44d81aabff
|
@ -58,7 +58,13 @@ module.exports = function(grunt) {
|
|||
ignore: ['*.min.js'],
|
||||
presets: [["env", {
|
||||
targets: {
|
||||
browsers: compat ? ['defaults'] : [
|
||||
browsers: compat ? [
|
||||
'IE >= 11',
|
||||
'Safari >= 9',
|
||||
'Last 2 Chrome versions',
|
||||
'Last 2 Firefox versions',
|
||||
'Last 2 Edge versions'
|
||||
] : [
|
||||
'Last 2 Chrome versions',
|
||||
'Last 2 Firefox versions',
|
||||
'Last 2 Safari versions',
|
||||
|
|
Loading…
Reference in New Issue
Block a user