@polylith/builder 0.1.12 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/App.js +2 -0
  2. package/package.json +2 -1
package/App.js CHANGED
@@ -6,6 +6,7 @@ import { babel } from '@rollup/plugin-babel';
6
6
  import * as resolve from '@rollup/plugin-node-resolve';
7
7
  import commonjs from '@rollup/plugin-commonjs';
8
8
  import rollupJson from "@rollup/plugin-json"
9
+ import svgr from '@svgr/rollup'
9
10
 
10
11
  import html from 'rollup-plugin-html';
11
12
  import livereload from 'rollup-plugin-livereload';
@@ -566,6 +567,7 @@ export default class App {
566
567
  presets: ['@babel/preset-react'],
567
568
  babelHelpers: 'bundled',
568
569
  }),
570
+ svgr(),
569
571
  loadConfigs(this.configs),
570
572
  loader(this.loadables),
571
573
  features(this.featureIndexes),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -16,6 +16,7 @@
16
16
  "@rollup/plugin-commonjs": "^21.0.0",
17
17
  "@rollup/plugin-json": "^5.0.2",
18
18
  "@rollup/plugin-node-resolve": "^13.0.5",
19
+ "@svgr/rollup": "^6.5.1",
19
20
  "babel": "^6.23.0",
20
21
  "escape-string-regexp": "^5.0.0",
21
22
  "fast-glob": "^3.2.12",