Simplify fileURLToPath usage in scripts
The `dirname` and `filename` properties of `import.meta` were [added][1] in Node 20.11.0, and we've been on 20.12.2 for a while. [1]: https://nodejs.org/docs/latest-v20.x/api/esm.html#importmeta
显示
- config/helpers/vite_plugin_style.mjs 1 个添加, 2 个删除config/helpers/vite_plugin_style.mjs
- eslint.config.mjs 1 个添加, 3 个删除eslint.config.mjs
- scripts/frontend/find_frontend_files.mjs 2 个添加, 3 个删除scripts/frontend/find_frontend_files.mjs
- scripts/frontend/lib/compile_css.mjs 1 个添加, 2 个删除scripts/frontend/lib/compile_css.mjs
- scripts/frontend/preinstall.mjs 2 个添加, 3 个删除scripts/frontend/preinstall.mjs
- scripts/frontend/tailwindcss.mjs 2 个添加, 4 个删除scripts/frontend/tailwindcss.mjs
加载中
想要评论请 注册 或 登录