build fix on deployement to dev
This commit is contained in:
@@ -12,8 +12,6 @@ import { createElement } from "react";
|
|||||||
import Html from "react-pdf-html";
|
import Html from "react-pdf-html";
|
||||||
import { getFormCollectionByID } from "../../components/utils";
|
import { getFormCollectionByID } from "../../components/utils";
|
||||||
|
|
||||||
import renderers, { renderBlock } from "react-pdf-html/dist/renderers";
|
|
||||||
|
|
||||||
import transLookupCY from "../../locales/cy/myrepresentations.json";
|
import transLookupCY from "../../locales/cy/myrepresentations.json";
|
||||||
import transLookupEN from "../../locales/en/myrepresentations.json";
|
import transLookupEN from "../../locales/en/myrepresentations.json";
|
||||||
import { JSONPath as jsonpath } from "jsonpath-plus";
|
import { JSONPath as jsonpath } from "jsonpath-plus";
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ import { createElement } from "react";
|
|||||||
import Html from "react-pdf-html";
|
import Html from "react-pdf-html";
|
||||||
import { getFormCollectionByID } from "../../components/utils";
|
import { getFormCollectionByID } from "../../components/utils";
|
||||||
|
|
||||||
import renderers, { renderBlock } from "react-pdf-html/dist/renderers";
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
page: {
|
page: {
|
||||||
backgroundColor: "white",
|
backgroundColor: "white",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import Html from "react-pdf-html";
|
|||||||
import { getFormCollectionByID, bytesToSize } from "../utils";
|
import { getFormCollectionByID, bytesToSize } from "../utils";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import xpath from "xpath";
|
import xpath from "xpath";
|
||||||
import renderers, { renderBlock } from "react-pdf-html/dist/renderers";
|
|
||||||
import _ from "lodash";
|
import _ from "lodash";
|
||||||
import { DOMParser, XMLSerializer } from "@xmldom/xmldom";
|
import { DOMParser, XMLSerializer } from "@xmldom/xmldom";
|
||||||
import { AppealRow_pdf } from "./appealRow_pdf";
|
import { AppealRow_pdf } from "./appealRow_pdf";
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import ReactPDF, {
|
|||||||
import { createElement } from "react";
|
import { createElement } from "react";
|
||||||
import Html from "react-pdf-html";
|
import Html from "react-pdf-html";
|
||||||
import { getFormCollectionByID } from "../../components/utils";
|
import { getFormCollectionByID } from "../../components/utils";
|
||||||
import renderers, { renderBlock } from "react-pdf-html/dist/renderers";
|
|
||||||
import transLookupCY from "../../locales/cy/myrepresentations.json";
|
import transLookupCY from "../../locales/cy/myrepresentations.json";
|
||||||
import transLookupEN from "../../locales/en/myrepresentations.json";
|
import transLookupEN from "../../locales/en/myrepresentations.json";
|
||||||
import { JSONPath as jsonpath } from "jsonpath-plus";
|
import { JSONPath as jsonpath } from "jsonpath-plus";
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ import { createElement } from "react";
|
|||||||
import Html from "react-pdf-html";
|
import Html from "react-pdf-html";
|
||||||
import { getFormCollectionByID } from "../../components/utils";
|
import { getFormCollectionByID } from "../../components/utils";
|
||||||
|
|
||||||
import renderers, { renderBlock } from "react-pdf-html/dist/renderers";
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
page: {
|
page: {
|
||||||
backgroundColor: "white",
|
backgroundColor: "white",
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ const securityHeaders = [
|
|||||||
const buildId = Date.now().toString();
|
const buildId = Date.now().toString();
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
output: "standalone",
|
//output: "standalone",
|
||||||
env: {
|
env: {
|
||||||
BUILD_ID_ENV: buildId,
|
BUILD_ID_ENV: buildId,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user