Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
354 views
in Technique[技术] by (71.8m points)

javascript - 如何在没有常春藤的情况下编译库?(How to compile a library without Ivy?)

I'm publishing a library and when I cd to dist/my-library I get the message:(我正在发布一个库,当我CD到dist/my-library我收到消息:)

ERROR: Trying to publish a package that has been compiled by Ivy.(错误:尝试发布由Ivy编译的软件包。) This is not allowed.(这是不允许的。) Please delete and rebuild the package, without compiling with Ivy, before attempting to publish.(在尝试发布之前,请删除并重建该程序包,而不用Ivy进行编译。) How do we rebuild without Ivy?(没有常春藤,我们如何重建?)   ask by Ole translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Within the library project there is a tsconfig.lib.json file.(在库项目中,有一个tsconfig.lib.json文件。)

Here's my Angular compiler configuration:(这是我的Angular编译器配置:) "angularCompilerOptions": { "skipTemplateCodegen": true, "strictMetadataEmit": true, "enableResourceInlining": true, "enableIvy": false },

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...