1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-11-25 22:52:33 +02:00

autoprefixer and webpack use the same browser list config

This commit is contained in:
Mark McDowall
2019-03-05 20:01:21 -08:00
parent b72b74b6c6
commit 6bb649bac5
3 changed files with 10 additions and 15 deletions

View File

@@ -5,6 +5,7 @@ const path = require('path');
const webpack = require('webpack');
const errorHandler = require('./helpers/errorHandler');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const browsers = require('../browsers');
const uiFolder = 'UI';
const frontendFolder = path.join(__dirname, '..');
@@ -98,12 +99,7 @@ const config = {
loose: true,
debug: false,
useBuiltIns: 'entry',
targets: [
'>0.25%',
'not ie 11',
'not op_mini all',
'not chrome < 60'
]
targets: browsers
}
]
]