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.

chore: fix preview crash & update config#1375

Merged
mydearxym merged 1 commit intodevfromexplore-nextjs-new-feat
Sep 11, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modifieddeploy/production/web.tar.gz
View file
Open in desktop
Binary file not shown.
5 changes: 5 additions & 0 deletionsnext.config.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,6 +14,11 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
const nextConfig = {
swcMinify: true,
productionBrowserSourceMaps: true,
compiler: {
removeConsole: {
exclude: ['error'],
},
},
// pwa: {
// dest: 'public',
// disable: process.env.NODE_ENV !== 'production',
Expand Down
2 changes: 1 addition & 1 deletionpackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "coderplanets_web",
"version": "1.0.7",
"version": "1.0.8",
"license": "Apache License 2.0",
"scripts": {
"dev": "cross-env NODE_ENV=dev next dev",
Expand Down
4 changes: 2 additions & 2 deletionssrc/stores/RootStore/index.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,7 +78,7 @@ import {
UserPublishedArticlesStore,
// BlogEditorStore,
CommunityTagSetterStore,
//CollectionFolderStore,
CollectionFolderStore,
ShareStore,
ArticleContentStore,
ArticleViewerStore,
Expand DownExpand Up@@ -181,7 +181,7 @@ const rootStore = T.model({
userPublishedArticles: T.optional(UserPublishedArticlesStore, {}),
// blogEditor: T.optional(BlogEditorStore, {}),
communityTagSetter: T.optional(CommunityTagSetterStore, {}),
//collectionFolder: T.optional(CollectionFolderStore, {}),
collectionFolder: T.optional(CollectionFolderStore, {}),
share: T.optional(ShareStore, {}),
articleContent: T.optional(ArticleContentStore, {}),
articleViewer: T.optional(ArticleViewerStore, {}),
Expand Down
2 changes: 1 addition & 1 deletionsrc/stores/index.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -85,7 +85,7 @@ export { default as KanbanThreadStore } from '@/containers/thread/KanbanThread/s
export { default as FriendsContentStore } from '@/containers/content/FriendsContent/store'
// export { default as BlogEditorStore } from '@/containers/editor/BlogEditor/store'
export { default as CommunityTagSetterStore } from '@/containers/tool/CommunityTagSetter/store'
//export { default as CollectionFolderStore } from '@/containers/tool/CollectionFolder/store'
export { default as CollectionFolderStore } from '@/containers/tool/CollectionFolder/store'
export { default as ShareStore } from '@/containers/tool/Share/store'
export { default as ArticleContentStore } from '@/containers/content/ArticleContent/store'
export { default as ArticleViewerStore } from '@/containers/viewer/ArticleViewer/store'
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp