shareon/rollup/rollup.config.dev.js

20 lines
319 B
JavaScript
Raw Normal View History

2020-03-25 13:53:00 -04:00
import { postcss, typescript } from './plugins';
2020-03-25 12:44:11 -04:00
const input = './src/index.ts';
const name = 'shareon';
const outputDir = './dev/';
export default {
input,
output: {
name,
format: 'iife',
file: `${outputDir}${name}.js`,
},
plugins: [
typescript(),
postcss(`${name}.css`, false),
2020-03-25 12:44:11 -04:00
],
};