1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[file view] rewrote it with react, for 'preview unsupported' files (#3172)

This commit is contained in:
llj
2019-03-25 16:17:28 +08:00
committed by Daniel Pan
parent 80fad25a36
commit e4380a91a2
6 changed files with 141 additions and 10 deletions

View File

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