1.1.8 • Published 9 months ago

rollup-plugin-md-icon-inline v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Rollup plugin that inlines <md-icon> at build time.

So your final application doesn't have to rely on the material symbols font resource at runtime. There are many advantages:

  • No FOUC (because the icons are directly available from your code.)
  • No extra http requests.
  • Works offline in a PWA.
import {mdIconInline} from 'rollup-plugin-md-icon-inline';

// in your rollup config object
plugins: [mdIconInline()];

Options

You can also specify options to get rid of the defaults :

import {mdIconInline} from 'rollup-plugin-md-icon-inline';

mdIconInline({});
1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.5

9 months ago

1.1.4

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.0.1

9 months ago

1.0.0

10 months ago