Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3753181
D2930.id7462.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2930.id7462.diff
View Options
diff --git a/.browserslistrc b/.browserslistrc
--- a/.browserslistrc
+++ b/.browserslistrc
@@ -1,5 +1,5 @@
-# Browsers that we support
last 2 versions
-ie >= 9
+not dead
+ie >= 11
ios >= 7
android >= 4.4
diff --git a/config.yml b/config.yml
--- a/config.yml
+++ b/config.yml
@@ -4,12 +4,6 @@
# https://localtunnel.github.io/www/
TUNNEL: "serverslog"
-# Autoprefixer will make sure your CSS works with these browsers
-COMPATIBILITY:
- - "last 2 versions"
- - "ie >= 9"
- - "ios >= 7"
-
# UnCSS will use these settings
UNCSS_OPTIONS:
html:
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -23,7 +23,7 @@
const PRODUCTION = !!(yargs.argv.production);
// Load settings from settings.yml
-const { COMPATIBILITY, PORT, UNCSS_OPTIONS, PATHS } = loadConfig();
+const { PORT, UNCSS_OPTIONS, PATHS } = loadConfig();
function loadConfig() {
let ymlFile = fs.readFileSync('config.yml', 'utf8');
@@ -77,7 +77,7 @@
const postCssPlugins = [
// Autoprefixer
- autoprefixer({ browsers: COMPATIBILITY }),
+ autoprefixer(),
// UnCSS - Uncomment to remove unused styles in production
// PRODUCTION && uncss.postcssPlugin(UNCSS_OPTIONS),
@@ -90,7 +90,7 @@
})
.on('error', sass.logError))
.pipe($.postcss(postCssPlugins))
- .pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie9' })))
+ .pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie11' })))
.pipe($.if(!PRODUCTION, $.sourcemaps.write()))
.pipe(gulp.dest(PATHS.dist + '/assets/css'))
.pipe(browser.reload({ stream: true }));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 23:41 (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251486
Default Alt Text
D2930.id7462.diff (1 KB)
Attached To
Mode
D2930: Consolidate browsers lists
Attached
Detach File
Event Timeline
Log In to Comment