Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/parcel-plugin-svgr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
"prepublishOnly": "yarn run build"
},
"peerDependencies": {
"parcel": "^1.10.0"
"parcel-bundler": "^1.10.0"
},
"dependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/plugin-transform-react-constant-elements": "^7.7.4",
"@babel/preset-env": "^7.7.6",
Expand All @@ -42,6 +43,6 @@
"@svgr/plugin-svgo": "^5.2.0"
},
"devDependencies": {
"parcel": "^1.10.0"
"parcel-bundler": "^1.10.0"
}
}
2 changes: 1 addition & 1 deletion packages/parcel-plugin-svgr/src/asset.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Asset } from 'parcel'
import { Asset } from 'parcel-bundler'
import { transformAsync, createConfigItem } from '@babel/core'
import svgo from '@svgr/plugin-svgo'
import jsx from '@svgr/plugin-jsx'
Expand Down
2 changes: 1 addition & 1 deletion packages/parcel-plugin-svgr/src/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Bundler from 'parcel'
import Bundler from 'parcel-bundler'
import path from 'path'
import plugin from '.'

Expand Down