mirror of
https://github.com/iconify/iconify.git
synced 2024-11-08 22:30:59 +00:00
26 lines
492 B
JavaScript
26 lines
492 B
JavaScript
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',
|
|
},
|
|
],
|
|
external: ['@ember/template', '@glimmer/component', '@glimmer/tracking'],
|
|
plugins: [
|
|
resolve({
|
|
browser: true,
|
|
extensions: ['.ts', '.mjs', '.js'],
|
|
}),
|
|
typescript(),
|
|
],
|
|
},
|
|
];
|
|
|
|
export default config;
|