@polylith/builder 0.1.8 → 0.1.9
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 +3 -0
- package/package.json +1 -1
package/App.js
CHANGED
|
@@ -5,6 +5,8 @@ import * as rollup from 'rollup';
|
|
|
5
5
|
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
|
+
import rollupJson from "@rollup/plugin-json"
|
|
9
|
+
|
|
8
10
|
import html from 'rollup-plugin-html';
|
|
9
11
|
import livereload from 'rollup-plugin-livereload';
|
|
10
12
|
import styles from "rollup-plugin-styles";
|
|
@@ -542,6 +544,7 @@ export default class App {
|
|
|
542
544
|
extensions: ['.js', '.jsx']
|
|
543
545
|
}),
|
|
544
546
|
commonjs(),
|
|
547
|
+
rollupJson(),
|
|
545
548
|
babel({
|
|
546
549
|
presets: ['@babel/preset-react'],
|
|
547
550
|
babelHelpers: 'bundled',
|