Giter VIP home page Giter VIP logo

Comments (5)

lyfeyaj avatar lyfeyaj commented on July 19, 2024

手头目前没有 Windows 电脑,没办法测试,感觉上不大可能不支持 Windows。有什么明确的报错么?

from ewa.

lyfeyaj avatar lyfeyaj commented on July 19, 2024

如果 Windows 的支持有问题,通常情况下是路径问题导致的,可以检查下看看

from ewa.

icai avatar icai commented on July 19, 2024

@lyfeyaj mac 下面是正常的, windows 没有输出报错。该是 copy-webpack-plugin 组件的 分隔符 问题

from: path.resolve(


https://github.com/webpack-contrib/copy-webpack-plugin#for-windows

// If absolute path is a `glob` we replace backslashes with forward slashes, because only forward slashes can be used in the `glob`
from: path.posix.join(
  path.resolve(__dirname, "fixtures").replace(/\\/g, "/"),
  "*.txt"
),

from ewa.

icai avatar icai commented on July 19, 2024

@lyfeyaj 改成这样子,Windows 正常了

      from: path.posix.join(
        path.resolve(ROOT, "src").replace(/\\/g, "/"),
        "**", `*.{${options.copyFileTypes.join(',')}}`
      )

from ewa.

lyfeyaj avatar lyfeyaj commented on July 19, 2024

新版本已修复。

image

from ewa.

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.