mirror of
https://github.com/iconify/iconify.git
synced 2024-11-09 23:00:56 +00:00
21 lines
457 B
JavaScript
21 lines
457 B
JavaScript
import resolve from '@rollup/plugin-node-resolve';
|
|
import commonjs from '@rollup/plugin-commonjs';
|
|
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: ['@glimmer/component', '@glimmer/tracking'],
|
|
plugins: [resolve(), commonjs(), typescript()],
|
|
},
|
|
];
|
|
|
|
export default config;
|