diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-20 15:48:49 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-20 15:48:49 +0000 |
| commit | 6b176b4ee0493b3545f34fa20f7dad695e9a8ee4 (patch) | |
| tree | cbdaaaea5279fb27f3d7fc9a7786f9fae75dd1f8 | |
| parent | 2902c1dd5a0d10157570ae76e07bfd002d53a723 (diff) | |
| download | mullvadvpn-6b176b4ee0493b3545f34fa20f7dad695e9a8ee4.tar.xz mullvadvpn-6b176b4ee0493b3545f34fa20f7dad695e9a8ee4.zip | |
Add SVG injector for React
| -rw-r--r-- | .babelrc | 2 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ { "presets": ["es2015", "stage-0", "react"], - "plugins": ["transform-decorators-legacy", "transform-runtime"] + "plugins": ["transform-decorators-legacy", "transform-runtime", "inline-react-svg"] } diff --git a/package.json b/package.json index b42114d0b4..10c8064ea9 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "babel-cli": "^6.22.2", "babel-core": "^6.2.1", "babel-eslint": "^7.1.1", + "babel-plugin-inline-react-svg": "^0.2.0", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-runtime": "^6.22.0", "babel-preset-es2015": "^6.1.18", |
