Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit9234c54

Browse files
authored
chore: fix preview crash & update config (#1375)
1 parent2025937 commit9234c54

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

‎deploy/production/web.tar.gz‎

88 Bytes
Binary file not shown.

‎next.config.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
1414
constnextConfig={
1515
swcMinify:true,
1616
productionBrowserSourceMaps:true,
17+
compiler:{
18+
removeConsole:{
19+
exclude:['error'],
20+
},
21+
},
1722
// pwa: {
1823
// dest: 'public',
1924
// disable: process.env.NODE_ENV !== 'production',

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"coderplanets_web",
3-
"version":"1.0.7",
3+
"version":"1.0.8",
44
"license":"Apache License 2.0",
55
"scripts": {
66
"dev":"cross-env NODE_ENV=dev next dev",

‎src/stores/RootStore/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ import {
7878
UserPublishedArticlesStore,
7979
// BlogEditorStore,
8080
CommunityTagSetterStore,
81-
//CollectionFolderStore,
81+
CollectionFolderStore,
8282
ShareStore,
8383
ArticleContentStore,
8484
ArticleViewerStore,
@@ -181,7 +181,7 @@ const rootStore = T.model({
181181
userPublishedArticles:T.optional(UserPublishedArticlesStore,{}),
182182
// blogEditor: T.optional(BlogEditorStore, {}),
183183
communityTagSetter:T.optional(CommunityTagSetterStore,{}),
184-
//collectionFolder: T.optional(CollectionFolderStore, {}),
184+
collectionFolder:T.optional(CollectionFolderStore,{}),
185185
share:T.optional(ShareStore,{}),
186186
articleContent:T.optional(ArticleContentStore,{}),
187187
articleViewer:T.optional(ArticleViewerStore,{}),

‎src/stores/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export { default as KanbanThreadStore } from '@/containers/thread/KanbanThread/s
8585
export{defaultasFriendsContentStore}from'@/containers/content/FriendsContent/store'
8686
// export { default as BlogEditorStore } from '@/containers/editor/BlogEditor/store'
8787
export{defaultasCommunityTagSetterStore}from'@/containers/tool/CommunityTagSetter/store'
88-
//export { default as CollectionFolderStore } from '@/containers/tool/CollectionFolder/store'
88+
export{defaultasCollectionFolderStore}from'@/containers/tool/CollectionFolder/store'
8989
export{defaultasShareStore}from'@/containers/tool/Share/store'
9090
export{defaultasArticleContentStore}from'@/containers/content/ArticleContent/store'
9191
export{defaultasArticleViewerStore}from'@/containers/viewer/ArticleViewer/store'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp