Comments (7)
那并不可以。。。谁说我fork出来的 webpack-dev-server-ssr
只改了这块
from ssr.
那并不可以。。。谁说我fork出来的
webpack-dev-server-ssr
只改了这块
那能把 fork 出来的那个包在 npm 上的 readme 改一改,加个提示什么的,npm 里面的 repository 指向不对
from ssr.
from ssr.
不需要加...源码我都没上传。只改了一行代码所有配置跟原来的devserver一样 发自我的iPhone
…
------------------ 原始邮件 ------------------ 发件人: Shengnan @.> 发送时间: 2021年6月24日 17:49 收件人: ykfe/ssr @.> 抄送: yuuang @.>, Mention @.> 主题: 回复:[ykfe/ssr] server-utils 里的依赖,可以完全替换成 webpack-dev-server (#70) 那并不可以。。。谁说我fork出来的 webpack-dev-server-ssr只改了这块 那能把 fork 出来的那个包在 npm 上的 readme 改一改,加个提示什么的,npm 里面的 repository 指向不对 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
要不在 require 那句上加个注释,大概写下改了什么?
from ssr.
fix by 93335e8
from ssr.
fix by 93335e8
Modification Details:
// webpack-dev-server-ssr/lib/utils/status.js L22 - L49
if (!options.disableInfo) {
if (options.socket) {
log.info(
`Listening to socket at ${colors.info(useColor, options.socket)}`
);
} else {
log.info(`Project is running at ${colors.info(useColor, uri)}`);
}
}
if (!options.disableInfo) {
log.info(
`webpack output is served from ${colors.info(
useColor,
options.publicPath
)}`
);
}
if (!options.disableInfo) {
if (contentBase) {
log.info(
`Content not from webpack is served from ${colors.info(
useColor,
contentBase
)}`
);
}
}
// webpack-dev-server-ssr/lib/options.json L51 - L53
"disableInfo": {
"type": "boolean"
},
对照了一下代码,记录一下,去掉默认提示的确只能魔改
from ssr.
看源码有心了-。-欢迎使用
from ssr.
Related Issues (20)
- 框架怎么设置 productionSourceMap HOT 3
- vite编译超时 HOT 3
- 怎么引入element-plus HOT 14
- 通过 less loader 配置的 less 变量不生效 HOT 5
- 请问有没有 egg的服务端插件? 如果没有,后端想使用egg,该怎么做呢,谢谢。 HOT 5
- 访问未定义的路由时,server端代码报错
- 生产环境的antdv ui css 样式和开发环境不一致 HOT 4
- 引入 css文件 报错 HOT 17
- 请问启动后,isBrower找不到,编译报错怎么解决?谢谢 HOT 2
- npx ssr build --html 编译出错 HOT 1
- 使用midway-vue3-ssr模版在组件中访问public下的静态资源404 HOT 3
- antd5新版本的兼容性问题
- 新版本antd5兼容性问题 HOT 4
- ssr-plugin-react 新版本缺少src路径
- build:o 相关问题 HOT 9
- Pm2模式下, Require() of ES Module 报错 HOT 2
- AuthProvider? HOT 4
- 通过vite方式引入windiCSS失败 HOT 2
- Webpack IgnorewPlugin HOT 1
- 请教下如何将node_module依赖构建到产物中,从而减少远端部署文件大小 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssr.