@kaliber/build 0.0.126 → 0.0.127

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,9 @@ export function ComponentServerWrapper({ componentName, props, renderedComponent
12
12
 
13
13
  {/* Use render blocking script to remove the container and supply the correct comment nodes.
14
14
  This ensures the page is never rendered with the intermediate structure */}
15
- <script dangerouslySetInnerHTML={{ __html: restructureDomNodes(componentInfo) }} />
15
+ <script dangerouslySetInnerHTML={{
16
+ __html: restructureDomNodes(componentInfo).replace(/<\/?script>/gi, '')
17
+ }} />
16
18
  </>
17
19
  )
18
20
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.126",
2
+ "version": "0.0.127",
3
3
  "name": "@kaliber/build",
4
4
  "description": "Zero configuration, opinionated webpack / react build setup",
5
5
  "scripts": {