Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

A Parcel 2 plugin to turn automatically SVGs into `elm/svg` ✨

License

Notifications You must be signed in to change notification settings

kutyel/parcel-transformer-svg-elm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parcel-transformer-svg-elm

A Parcel 2 plugin to turn automatically SVGs into elm/svg

Usage

// .parcelrc
{
  "extends": "@parcel/config-default",
  "resolvers": ["@parcel/resolver-glob", "..."],
  "transformers": {
    "Icons/*.svg": ["parcel-transformer-svg-elm"]
  }
}

And then in your main.css file:

/* ... */
@import '../Icons/*.svg';

About

A Parcel 2 plugin to turn automatically SVGs into `elm/svg` ✨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published