Page MenuHomeDevCentral

D2930.diff
No OneTemporary

D2930.diff

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

Mime Type
text/plain
Expires
Fri, Dec 20, 13:36 (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308107
Default Alt Text
D2930.diff (1 KB)

Event Timeline