dcasia / mini-program-tailwind

让你的小程序用上原汁原味的 Tailwind/Windi CSS
https://www.craft.do/s/Wx2f9cjGwyZYOx
494 stars 41 forks source link

请升级 webpack-sources #72

Open yoyo837 opened 2 years ago

yoyo837 commented 2 years ago

版本不一致可能造成webpack5 filesystem cache不能正常工作

 [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: No serializer registered for ConcatSource while serializing webpack/lib/util/registerExternalSerializer.webpack-sources/ConcatSource -> Array { 3 items } -> ConcatSource

可能有关的 #62

yoyo837 commented 2 years ago
  "overrides": {
    "webpack-sources": "^3.2.3"
  },

可以暂时解决

agileago commented 2 years ago
  "overrides": {
    "webpack-sources": "^3.2.3"
  },

可以暂时解决

pnpm 这个也不行

yoyo837 commented 2 years ago

overrides好像需要删掉node_modules和lock文件,全新安装

agileago commented 2 years ago

@yoyo837 已经换 https://github.com/sonofmagic/weapp-tailwindcss-webpack-plugin