lbry-desktop/postcss.config.js
Lucas Cullen 8b1dd11688
Refactor code structure for improved readability and maintainability
Refactor webpack configuration files to remove unused variables and improve clarity

Update dependencies: upgrade express to 5.1.0, mime to 4.0.7, and node-html-parser to 7.0.1

Update electron-related dependencies to latest versions

Update dependencies: upgrade proxy-polyfill to ^0.3.2, react-beautiful-dnd to ^13.1.1, react-datetime-picker to ^7.0.1, and various other packages
2025-08-28 10:12:58 +10:00

18 lines
411 B
JavaScript

module.exports = {
plugins: {
'postcss-import': {
resolve: function (id) {
// Handle ~ imports for node_modules
if (id.startsWith('~')) {
try {
return require.resolve(id.substring(1));
} catch (e) {
return id;
}
}
return id;
}
},
cssnano: process.env.NODE_ENV === 'production' ? {} : false,
},
};