add rollup-plugin-url to support importing images
This commit is contained in:
parent
c19fb7efe0
commit
ab9c25a789
6 changed files with 2910 additions and 12 deletions
|
@ -3,6 +3,7 @@ import commonjs from 'rollup-plugin-commonjs'
|
|||
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 pkg from './package.json'
|
||||
|
||||
|
@ -23,6 +24,7 @@ export default {
|
|||
postcss({
|
||||
modules: true
|
||||
}),
|
||||
url(),
|
||||
babel({
|
||||
exclude: 'node_modules/**'
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue