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