Merge pull request #75 from xin-nie/xin-nie-svgr-support
Add SVG as component support
This commit is contained in:
parent
834223e3cc
commit
c3e79469f1
5 changed files with 18 additions and 2 deletions
|
@ -4,6 +4,7 @@ import external from 'rollup-plugin-peer-deps-external'
|
|||
import postcss from 'rollup-plugin-postcss'
|
||||
import resolve from 'rollup-plugin-node-resolve'
|
||||
import url from 'rollup-plugin-url'
|
||||
import svgr from '@svgr/rollup'
|
||||
|
||||
import pkg from './package.json'
|
||||
|
||||
|
@ -27,6 +28,7 @@ export default {
|
|||
modules: true
|
||||
}),
|
||||
url(),
|
||||
svgr(),
|
||||
babel({
|
||||
exclude: 'node_modules/**',
|
||||
plugins: [ 'external-helpers' ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue