2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00
iconify/components/ember/rollup.config.js

26 lines
492 B
JavaScript
Raw Normal View History

import resolve from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
// Write all packages
const config = [
{
input: 'src/iconify-icon.ts',
output: [
{
file: 'addon/components/iconify-icon.js',
format: 'esm',
},
],
2022-03-11 16:39:57 +00:00
external: ['@ember/template', '@glimmer/component', '@glimmer/tracking'],
2021-09-27 15:47:41 +00:00
plugins: [
resolve({
browser: true,
extensions: ['.ts', '.mjs', '.js'],
}),
typescript(),
],
},
];
export default config;