Skip to content

Lit-html + Angular: how to disable Dev Mode? #3260

Answered by justinfagnani
rosostolato asked this question in Q&A
Discussion options

You must be logged in to vote

The production builds are the default, under the "default" package export condition. The dev builds are using the "development" export condition and have to be specifically opted-into.

It looks like you're using webpack-dev-server, which I presume is use the "development" export condition, which is good: you'll get extra warnings and more easily read stack traces.

In your production build your toolchain should be selecting the "default" package export condition automatically. Hopefully you don't see this warning in prod.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rosostolato
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants