1.1.8 • Published 2 years ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago