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-06-25 06:57:59 -04:00
|
|
|
postcss(`${name}.css`, false),
|
2020-03-25 12:44:11 -04:00
|
|
|
],
|
|
|
|
};
|