@polylith/builder 0.1.12 → 0.1.13

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 +4 -0
  2. package/package.json +3 -1
package/App.js CHANGED
@@ -6,7 +6,9 @@ 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 url from '@rollup/plugin-url'
9
10
 
11
+ import svgr from '@svgr/rollup'
10
12
  import html from 'rollup-plugin-html';
11
13
  import livereload from 'rollup-plugin-livereload';
12
14
  import styles from "rollup-plugin-styles";
@@ -566,6 +568,8 @@ export default class App {
566
568
  presets: ['@babel/preset-react'],
567
569
  babelHelpers: 'bundled',
568
570
  }),
571
+ url(),
572
+ svgr(),
569
573
  loadConfigs(this.configs),
570
574
  loader(this.loadables),
571
575
  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.13",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -16,6 +16,8 @@
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
+ "@rollup/plugin-url": "^8.0.1",
20
+ "@svgr/rollup": "^6.5.1",
19
21
  "babel": "^6.23.0",
20
22
  "escape-string-regexp": "^5.0.0",
21
23
  "fast-glob": "^3.2.12",