build-scripts icon indicating copy to clipboard operation
build-scripts copied to clipboard

:octopus: 基于 Webpack 的插件化工程构建工具,支持快速建设一套开箱即用的工程方案。

Results 40 build-scripts issues
Sort by recently updated
recently updated
newest added

我在开发低代码引擎的设置器,官方的脚手架工具是[这个](https://github.com/alibaba/lowcode-tools/tree/main/packages/template-setter),它用的就是@alib/build-scripts的版本是0.1.32。 目前我找不到build-scripts的文档,build.json如下 ![image](https://github.com/ice-lab/build-scripts/assets/23305067/f362306c-49a9-4df2-95f5-6ea7b5b78b5b) 执行build-scripts start会报错: ![image](https://github.com/ice-lab/build-scripts/assets/23305067/2ccab80c-9f4f-43e5-915a-1c13fbd3555a) 现在开发要调用接口,怎么办

Hey, man. 我目前在投入 lowcode 相关工作,在 lowcode 当中,我注意到他们使用了 `"@alib/build-scripts": "^0.1.32"` 进行构建和打包。 然而,我目前无法找到关于这个配置的任何文档。如果您了解相关信息,是否能够分享给我呢? 我的问题是,在生成 UMD 文件时,应该如何生成 xxx.d.ts 文件?以下是我的配置文件: - package.json ```json { "scripts": { "build": "build-scripts build && build-scripts build --config=build.umd.json" }...

Feat: support configFilePath in context

```javascript const MomentLocalesPlugin = require('@ant-design/moment-webpack-plugin'); module.exports = ({ context, onGetWebpackConfig }) => { // 这里面可以写哪些,具体请查看插件开发章节 onGetWebpackConfig((config) => { config.plugin('moment').use(MomentLocalesPlugin); }); } ``` 抛出: ![Screenshot 2023-05-08 at 11 06 18](https://user-images.githubusercontent.com/66351806/236729371-8cecea7c-0bb0-4c18-b02d-28a484a96af8.png)

想加入css-loader 请问如何 @ClarkXia @maoxiaoke

start时一直报图中的错误,不清楚是什么原因引起的 ![image](https://user-images.githubusercontent.com/22741303/210504269-d8e34c55-9fe1-48fa-9a61-fa9019699c77.png)

如何区分多环境呢,我发现cross-env不好使呢

![image](https://user-images.githubusercontent.com/1620674/205798915-e12e5a7a-a59d-456d-a532-20d21128653b.png) build-scripts 和 build-plugin-react 等包依赖的 webpack 都是 5.x,就这个 build-plugin-component 依赖的还是 4.x 导致在使用 pnpm 管理项目时,启动报错

Rax 编译时方案小程序构建场景下,jsx2mp-loader、jsx-compiler层面的错误往往展示的只是一个"webpack compile error",而实际的错误是在 stats 的 errors 里,目前一线开发者遇到后不知道怎么查(堆栈只暴露到了 build-script 这一层)。 故,增加 DEBUG 环境变量,开启的情况下可以将 stats 的报错也打印出来,便于定位真实错误。