Exported PDF extractor

This commit is contained in:
Simon Cambier
2022-10-29 12:32:57 +02:00
parent 0350e62a47
commit 9455032d0a
10 changed files with 9 additions and 211 deletions

View File

@@ -1,12 +1,10 @@
import { nodeResolve } from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import { base64 } from 'rollup-plugin-base64'
import typescript from '@rollup/plugin-typescript'
import svelte from 'rollup-plugin-svelte'
import autoPreprocess from 'svelte-preprocess'
import copy from 'rollup-plugin-copy'
import { terser } from 'rollup-plugin-terser'
import webWorkerLoader from 'rollup-plugin-web-worker-loader'
const banner = `/*
THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
@@ -33,7 +31,6 @@ export default {
}),
typescript(),
commonjs(),
base64({ include: '**/*.wasm' }),
copy({
targets: [
{ src: 'manifest.json', dest: 'dist' },
@@ -41,7 +38,6 @@ export default {
{ src: 'assets/.gitignore', dest: 'dist' },
],
}),
webWorkerLoader({ inline: true, forceInline: true, targetPlatform: "browser" }),
production && terser(),
],
}