Rollup Setup / Migration
This commit is contained in:
@@ -2,7 +2,9 @@ import i18next from "i18next";
|
||||
import resourcesToBackend from "i18next-resources-to-backend";
|
||||
|
||||
i18next
|
||||
.use(resourcesToBackend((language, namespace) => import(`./locales/${namespace}/${language}.json`)))
|
||||
.use(resourcesToBackend((language, namespace) => import(`./public/locales/${namespace}/${language}.json`, {
|
||||
assert: { type: "json" },
|
||||
})))
|
||||
.init({
|
||||
// debug: true,
|
||||
ns: ["common"], // Preload this namespace, no need to add the others, they will load once their module is loaded
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"inputs": {
|
||||
"pdffile": {
|
||||
"name": "PDF-File(s)",
|
||||
"description": "This operator takes a PDF-File(s) as input"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"pdffile": {
|
||||
"name": "PDF-File(s)",
|
||||
"description": "This operator outputs PDF-File(s)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"friendlyName": "PDF-Imposition / PDF-N-Up",
|
||||
"description": "Put multiple pages of the input document into a single page of the output document.",
|
||||
"values": {
|
||||
"nup": {
|
||||
"friendlyName": "Page Format",
|
||||
"description": "The Page Size of the ouput document. Append L or P to force Landscape or Portrait."
|
||||
},
|
||||
"format": {
|
||||
"friendlyName": "N-Up-Value",
|
||||
"description": "How many pages should be in one output page"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@ import { WasmFs } from '@wasmer/wasmfs';
|
||||
import path from "path";
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
let nodeWasmLocation = path.dirname(fileURLToPath(import.meta.url));
|
||||
let nodeWasmLocation = "./dist/public/wasm/pdfcpu/"; // TODO: Replace with __dirname
|
||||
|
||||
let fs;
|
||||
const wasmfs = new WasmFs();
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user