sead 最近的时间轴更新
sead's repos on GitHub
Ruby · 39 人关注
cloud_wordpress
Manage multiple wordpress
Ruby · 4 人关注
active_admin_amz
Amazon AFF
Ruby · 1 人关注
active_admin_wordpress
Ruby · 1 人关注
gptinfo
Gpt Info parse
Ruby · 1 人关注
seadfeng.github.io
技术博客,码农之路
Ruby · 0 人关注
activeadmin_addons
Extends ActiveAdmin to enable a set of great optional UX improving add-ons
Ruby · 0 人关注
active_admin_import
:paperclip: active_admin_import is based on activerecord-import gem - the most efficient way to import for ActiveAdmin
Ruby · 0 人关注
active_admin_role
Role based authorization with CanCanCan for Active Admin
Ruby · 0 人关注
apify_cli
Ruby · 0 人关注
autoscript
Ruby · 0 人关注
clickhouse-activerecord
A Ruby database ActiveRecord driver for ClickHouse
Ruby · 0 人关注
click_house
Modern Ruby database driver for ClickHouse
Ruby · 0 人关注
fastlist-doc
Fastlist CMS
0 人关注
gpts-works
A Third-party GPTs store
Ruby · 0 人关注
gruff
Gruff graphing library for Ruby
Ruby · 0 人关注
keywords_everywhere
KeywordsEverywhere API
0 人关注
opentype.js
Read and write OpenType fonts using JavaScript.
Ruby · 0 人关注
paapi
Client library for Amazon's Product Advertising API v5
Ruby · 0 人关注
pheenix
Pheenix API
Ruby · 0 人关注
spree
Spree is a complete, modular & API-driven open source ecommerce solution for Ruby on Rails
SCSS · 0 人关注
spree_admin_skin
Addon for Spree, Taxon will easy to manage
Ruby · 0 人关注
spree_analytics_trackers
Integrate your Spree application with Google Analytics and Segment.com
HTML · 0 人关注
spree_blogs
Spree Blogs - Shopify Style Blogs For Spree 4.2 - With Action Text Built In.
Ruby · 0 人关注
spree_editor
Rich text editor for Spree with Image and File uploading in-place.
0 人关注
spree_globalize
Adds support for model translations (multi-language stores) using Globalize gem
Ruby · 0 人关注
spree_mail_settings
Mail setting functionality extracted from Spree.
Ruby · 0 人关注
spree_products_qa
Easily add Q&A Sections for products to your Spree-based store.
Ruby · 0 人关注
spree_related_products
Related products extension for Spree Commerce.
Ruby · 0 人关注
spree_reviews
Straightforward review/rating functionality.
Ruby · 0 人关注
spree_sidekiq
sead

sead

V2EX 第 670636 号会员,加入于 2024-01-10 12:08:49 +08:00
今日活跃度排名 6030
sead 最近回复了
@lisongeee

厉害!我自己都没注意到这里有一步 io 操作。。

本地调试快是读的文件, 部署后文件没有跟着打包,读 s3.

自己把自己搞进胡同了。。
@foolishcrab 好的,我去看下相关资料,创建后没专门去改配置。

这个问题还比较奇怪,像是打包时给逻辑给复杂化了,导致性能下降

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
};

export default nextConfig;
@rbe 请教下 target 应该怎么改? 还是真是难住了,尝试改配置也行不通。

实在不行就跑 dev 模式。。 要么就是换 jsdom 再试试,不过这打包还真是有点迷幻,比开发环境还慢。。
@zhhbstudio 没有做特殊处理,创建 nextjs 时配置也没怎么动,这个还是刚入门,都没研究过


{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
@rbe 不是版本问题,开发时用的 npm run dev . ( nextjs )

mac build 之后运行 node .next/standalone/server.js ,打包后变慢了,跟 docker 和系统没有关系。

打包优化时由简变繁。。
@zhhbstudio 感谢回复,我刚测试完 mac 下的运行,不知道打包后有这么大的差异。。 有办法让打包的变快吗?
难道产品模式用 npm run dev ?这就有点懵逼了
有兴趣是前提条件,相关行业合适岗位先工作,慢慢成长。
我以前高中毕业都不怕,年轻就是硬着头皮就上
有本事不 star ,读代码就行了。开源也喷,不开源也喷
哪位爬虫大佬下手可以轻点
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2121 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 10:24 · PVG 18:24 · LAX 03:24 · JFK 06:24
Developed with CodeLauncher
♥ Do have faith in what you're doing.