@polylith/builder 0.1.13 → 0.1.15

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 -5
  2. package/package.json +2 -3
package/App.js CHANGED
@@ -6,14 +6,13 @@ 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'
10
9
 
11
- import svgr from '@svgr/rollup'
12
10
  import html from 'rollup-plugin-html';
13
11
  import livereload from 'rollup-plugin-livereload';
14
12
  import styles from "rollup-plugin-styles";
15
13
  import builtins from 'rollup-plugin-node-builtins';
16
14
  import globals from 'rollup-plugin-node-globals';
15
+ import reactSvg from "rollup-plugin-react-svg";
17
16
 
18
17
  import loader from './plugin-loader.js';
19
18
  import mainHTML from './plugin-main-html.js';
@@ -568,9 +567,7 @@ export default class App {
568
567
  presets: ['@babel/preset-react'],
569
568
  babelHelpers: 'bundled',
570
569
  }),
571
- url(),
572
- svgr(),
573
- loadConfigs(this.configs),
570
+ reactSvg(),
574
571
  loader(this.loadables),
575
572
  features(this.featureIndexes),
576
573
  html({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -16,8 +16,6 @@
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",
21
19
  "babel": "^6.23.0",
22
20
  "escape-string-regexp": "^5.0.0",
23
21
  "fast-glob": "^3.2.12",
@@ -29,6 +27,7 @@
29
27
  "rollup-plugin-livereload": "^2.0.5",
30
28
  "rollup-plugin-node-builtins": "^2.1.2",
31
29
  "rollup-plugin-node-globals": "^1.4.0",
30
+ "rollup-plugin-react-svg": "^3.0.3",
32
31
  "rollup-plugin-styles": "^4.0.0",
33
32
  "sass": "^1.43.4"
34
33
  }