Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
20 lines
431 B
JavaScript
Executable File
20 lines
431 B
JavaScript
Executable File
/**
|
|
* PostCSS configuration
|
|
*/
|
|
const config = {
|
|
plugins: [require("postcss-import"), require("@tailwindcss/postcss")],
|
|
};
|
|
|
|
// Add more modules to production
|
|
if (process.env.RAILS_ENV === "production") {
|
|
config.plugins.push(
|
|
require("cssnano")({ preset: "default" }),
|
|
require("autoprefixer"),
|
|
require("postcss-nested"),
|
|
require("postcss-flexbugs-fixes"),
|
|
);
|
|
}
|
|
|
|
// Export config file
|
|
module.exports = config;
|