[next] Brought back home PyScript Next (#1616)

This commit is contained in:
Andrea Giammarchi
2023-08-01 22:28:57 +02:00
committed by GitHub
parent 26e7a54f1f
commit 2774e49ab9
12 changed files with 2315 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
import postcss from "rollup-plugin-postcss";
export default {
input: "./src/core.css",
plugins: [
postcss({
extract: true,
sourceMap: false,
minimize: !process.env.NO_MIN,
plugins: [],
}),
],
output: {
file: "./core.css",
},
onwarn(warning, warn) {
if (warning.code === "FILE_NAME_CONFLICT") return;
warn(warning);
},
};