Giter Site home page Giter Site logo

Comments (7)

zhangyuang avatar zhangyuang commented on June 29, 2024

那并不可以。。。谁说我fork出来的 webpack-dev-server-ssr只改了这块

from ssr.

baxtergu avatar baxtergu commented on June 29, 2024

那并不可以。。。谁说我fork出来的 webpack-dev-server-ssr只改了这块

那能把 fork 出来的那个包在 npm 上的 readme 改一改,加个提示什么的,npm 里面的 repository 指向不对

from ssr.

zhangyuang avatar zhangyuang commented on June 29, 2024

from ssr.

baxtergu avatar baxtergu commented on June 29, 2024

不需要加...源码我都没上传。只改了一行代码所有配置跟原来的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.

zhangyuang avatar zhangyuang commented on June 29, 2024

fix by 93335e8

from ssr.

baxtergu avatar baxtergu commented on June 29, 2024

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.

zhangyuang avatar zhangyuang commented on June 29, 2024

看源码有心了-。-欢迎使用

from ssr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.