将 Angular 构建上的 main.js 重命名为其他名称,然后命名为 main.js
有没有办法配置 Angular 构建来为它正在创建的文件指定另一个名称?不是 main.js
而是 foo.js
。我试图找到一些期望我可以在 angular.json 或 wirh webpack 配置中配置它的东西,但找不到任何东西。这是我第一次必须改变一些事情。过去,我只是使用创建项目时创建的默认配置。
Is there a way to configure the Angular build to give the file it is creating another name? Not main.js
but foo.js
. I tried to find something expecting that i can configure it in the angular.json or wirh a webpack config, but could not find anything on it. This is the first time i have to change something. In the past i just worked with the default config that gets created when create a Project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论