shareon/rollup/rollup.config.dev.js

20 lines
331 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(),
2020-03-25 13:53:00 -04:00
postcss(`${outputDir}${name}.css`, false),
2020-03-25 12:44:11 -04:00
],
};