Explicitly exclude pre-Chromium Edge from CDN builds
The >1% was sometimes including this and other times not depending on CI vs. local, couldn't quite figure out why, guessing some difference in version of caniuse-lite.
This commit is contained in:
parent
43b2b66651
commit
7f6a6eeab2
2 changed files with 3 additions and 2 deletions
|
|
@ -87,13 +87,13 @@ describe('cli', () => {
|
|||
|
||||
it('compiles CSS file with autoprefixer', () => {
|
||||
return cli(['build', inputCssPath]).then(() => {
|
||||
expect(process.stdout.write.mock.calls[0][0]).toContain('-ms-input-placeholder')
|
||||
expect(process.stdout.write.mock.calls[0][0]).toContain('-webkit-max-content')
|
||||
})
|
||||
})
|
||||
|
||||
it('compiles CSS file without autoprefixer', () => {
|
||||
return cli(['build', inputCssPath, '--no-autoprefixer']).then(() => {
|
||||
expect(process.stdout.write.mock.calls[0][0]).not.toContain('-ms-input-placeholder')
|
||||
expect(process.stdout.write.mock.calls[0][0]).not.toContain('-webkit-max-content')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@
|
|||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"not edge <= 18",
|
||||
"not ie 11",
|
||||
"not op_mini all"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue