mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
7b8b07b05a
adds .eslintcache to gitignore
23 lines
444 B
JavaScript
23 lines
444 B
JavaScript
const rucksack = require('rucksack-css');
|
|
const lost = require('lost');
|
|
const cssnext = require('postcss-cssnext');
|
|
|
|
exports.modifyWebpackConfig = function (config) {
|
|
config.merge({
|
|
postcss: [
|
|
lost(),
|
|
rucksack(),
|
|
cssnext({
|
|
browsers: ['>1%', 'last 2 versions'],
|
|
}),
|
|
],
|
|
});
|
|
|
|
config.loader('svg', {
|
|
test: /\.(svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
|
loader: 'file-loader',
|
|
});
|
|
|
|
return config;
|
|
};
|