Sha256: 8cf93b72ca0ad7ea3b62a47ed9b0152dd188c61db2ed8c2c3a8c6b1ccf3b014f
Contents?: true
Size: 738 Bytes
Versions: 12
Compression:
Stored size: 738 Bytes
Contents
import esbuild from "rollup-plugin-esbuild"; import pkg from "./package.json"; import postcss from "rollup-plugin-postcss"; import postcssPresetEnv from "postcss-preset-env"; export default { input: "./src/components/stack.tsx", external: ["react", "react-dom", "classnames"], plugins: [ esbuild({ target: "es6", }), [ "@babel/plugin-transform-runtime", { regenerator: true, }, ], postcss({ extract: true, plugins: [postcssPresetEnv({ preserve: true })], }), ], output: { dir: "dist/components", plugins: [ { file: pkg.main, format: "cjs", }, { file: pkg.module, format: "es", }, ], }, };
Version data entries
12 entries across 12 versions & 1 rubygems