<dependency> <groupId>org.webjars.npm</groupId> <artifactId>postcss</artifactId> <version>8.2.13</version> </dependency> script module.exports = { plugins: [ 'autoprefixer', 'cssnano' ] } import org.postcss.*; public class PostCSSExample { public static void main(String[] args) { try { Processor processor = PostCssProcessor.builder() .from(new File("input.css")) .to(new File("output.css")) .build(); processor.process(); } catch (Exception e) { e.printStackTrace(); } } }


上一篇:
下一篇:
切换中文