1
0
Fork 0

Added overview image to example pattern

This commit is contained in:
Joost De Cock 2019-05-18 17:17:44 +02:00
parent b183c4ef05
commit 8bf0e56e6f
5 changed files with 368 additions and 10 deletions

View file

@ -8,18 +8,26 @@ import url from "rollup-plugin-url";
import postcss from "rollup-plugin-postcss";
import svgr from "@svgr/rollup";
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json";
import {
name,
version,
description,
author,
license,
main,
module
} from "./package.json";
export default {
input: "src/index.js",
output: [
{
file: "dist/index.js",
file: main,
format: "cjs",
sourcemap: true
},
{
file: "dist/index.mjs",
file: module,
format: "es",
sourcemap: true
}