Comments (5)
手头目前没有 Windows 电脑,没办法测试,感觉上不大可能不支持 Windows。有什么明确的报错么?
from ewa.
如果 Windows 的支持有问题,通常情况下是路径问题导致的,可以检查下看看
from ewa.
@lyfeyaj mac 下面是正常的, windows 没有输出报错。该是 copy-webpack-plugin 组件的 分隔符 问题
ewa/packages/webpack/lib/config.js
Line 94 in 4e1ebeb
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.
@lyfeyaj 改成这样子,Windows 正常了
from: path.posix.join(
path.resolve(ROOT, "src").replace(/\\/g, "/"),
"**", `*.{${options.copyFileTypes.join(',')}}`
)
from ewa.
新版本已修复。
from ewa.
Related Issues (20)
- 怎么实时编译 HOT 2
- ewa build打包运行异常,ewa start正常 HOT 4
- 是否可以不引入regenerator-runtime HOT 1
- 初始化项目 HOT 4
- 请问如何在ewa项目下使用 towxml ? HOT 4
- scss/less文件没有编译 HOT 1
- 页面里不支持直接 编译 .scss 文件 吗 HOT 3
- Queue队列不应该先入先出吗 HOT 1
- ewa build dist 缺少vendors.js HOT 1
- json 文件不支持 post loader 处理 HOT 5
- 添加一个引入 vant-weapp 的 demo可以吗? HOT 5
- ewa init 报错 HOT 3
- windows上无法运行 HOT 1
- 可以给命令的路径加上双引号吗 HOT 1
- 原生微信小程序初始化报错 HOT 7
- 部分vant 组件引入失败
- 支持wxs HOT 2
- wxml使用html-loader压缩的问题
- 您好,感谢你分享的那么好的脚手架!问下关于Promise和async await的问题 HOT 4
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 ewa.