babel-plugin-svg-sprite
v1.0.2
Published
import svg sprite plugin for babel.
Downloads
2
Readme
babel-plugin-svg-sprite
before
import LarkIcon from '@/component/LarkIcon';
export default () => <LarkIcon name="book_import" />;
after
import '@/assets/book_import.svg';
import LarkIcon from '@/component/LarkIcon';
export default () => <LarkIcon name="book_import" />;