const path = require('path')
const fs = require('fs')
import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
export default [
{
input: "build/index.runtime.js",
output: {
name: "doric",
format: "iife",
file: "bundle/doric-sandbox.js",
},
sourceMap: true,
plugins: [
resolve({ jsnext: true, main: true }),
commonjs()
]
input: "build/index.js",
format: "cjs",
file: "bundle/doric-lib.js",
input: "build/demo.js",
file: "demo/demo.js",
],
external: ['./index'],