1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 05:39:59 +00:00

[SVG file view] rewrote it with react (#3125)

This commit is contained in:
llj
2019-03-18 14:22:51 +08:00
committed by Daniel Pan
parent 9e968a73e7
commit 01a48d7268
6 changed files with 161 additions and 1 deletions

View File

@@ -134,6 +134,11 @@ module.exports = {
require.resolve('react-dev-utils/webpackHotDevClient'),
paths.appSrc + "/view-file-pdf.js",
],
viewFileSVG: [
require.resolve('./polyfills'),
require.resolve('react-dev-utils/webpackHotDevClient'),
paths.appSrc + "/view-file-svg.js",
],
orgAdmin: [
require.resolve('./polyfills'),
require.resolve('react-dev-utils/webpackHotDevClient'),