Skip to content

Commit

Permalink
feat: set width of chunk text to 100% and add Skeleton to Preview of …
Browse files Browse the repository at this point in the history
…document and remove react-pdf (#94)

* feat: remove react-pdf

* feat: add Skeleton to Preview of document

* feat: set width of chunk text to 100%
  • Loading branch information
cike8899 authored Mar 4, 2024
1 parent 7bfaf0d commit eec529f
Show file tree
Hide file tree
Showing 14 changed files with 81 additions and 804 deletions.
17 changes: 0 additions & 17 deletions web/.umirc.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import path from 'path';
import { defineConfig } from 'umi';
import routes from './src/routes';

const cMapsDir = path.join(
path.dirname(require.resolve('pdfjs-dist/package.json')),
'cmaps',
);
const standardFontsDir = path.join(
path.dirname(require.resolve('pdfjs-dist/package.json')),
'standard_fonts',
);

export default defineConfig({
outputPath: 'dist',
// alias: { '@': './src' },
Expand Down Expand Up @@ -38,11 +28,4 @@ export default defineConfig({
// pathRewrite: { '^/v1': '/v1' },
},
},
copy: [
{ from: cMapsDir, to: 'cmaps/' },
{ from: standardFontsDir, to: 'standard_fonts/' },
],
chainWebpack(memo, args) {
console.info(memo);
},
});
Loading

0 comments on commit eec529f

Please sign in to comment.