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

Version Path
shimmer-0.0.41 rollup.component.config.js
shimmer-0.0.40 rollup.component.config.js
shimmer-0.0.39 rollup.component.config.js
shimmer-0.0.38 rollup.component.config.js
shimmer-0.0.37 rollup.component.config.js
shimmer-0.0.36 rollup.component.config.js
shimmer-0.0.35 rollup.component.config.js
shimmer-0.0.34 rollup.component.config.js
shimmer-0.0.33 rollup.component.config.js
shimmer-0.0.32 rollup.component.config.js
shimmer-0.0.31 rollup.component.config.js
shimmer-0.0.30 rollup.component.config.js