@polylith/builder 0.0.12 → 0.0.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
@@ -3,6 +3,7 @@ import path from 'path';
3
3
  import * as rollup from 'rollup';
4
4
  import * as resolve from '@rollup/plugin-node-resolve';
5
5
  import commonjs from '@rollup/plugin-commonjs';
6
+ import jsx from 'rollup-plugin-jsx';
6
7
  import html from "rollup-plugin-html";
7
8
  import loadables from './plugin-loadables.js';
8
9
  import mainHTML from './plugin-main-html.js';
@@ -103,6 +104,7 @@ export class App {
103
104
  input: input,
104
105
  plugins: [
105
106
  resolve.nodeResolve(),
107
+ jsx( {factory: 'React.createElement'} ),
106
108
  commonjs(),
107
109
  loadables(this.loadables),
108
110
  html({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -12,6 +12,7 @@
12
12
  "dependencies": {
13
13
  "@rollup/plugin-commonjs": "^21.0.0",
14
14
  "@rollup/plugin-node-resolve": "^13.0.5",
15
+ "rollup-plugin-jsx": "^1.0.3",
15
16
  "escape-string-regexp": "^5.0.0",
16
17
  "fs-extra": "^10.0.0",
17
18
  "rollup": "^2.58.0",