All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generator.server.springboot.thymeleaf.template.postcss.config.js.mustache Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
const postcssConfig = {
  plugins: [
    require('autoprefixer'),
    // jhipster-needle-thymeleaf-postcss-plugins
  ],
};

// If we are in production mode, then add cssnano
if (process.env.NODE_ENV === 'production') {
  postcssConfig.plugins.push(
    require('cssnano')({
      // use the safe preset so that it doesn't
      // mutate or remove code from our css
      preset: 'default',
    }),
  );
}

module.exports = postcssConfig;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy