Lit-html + Angular: how to disable Dev Mode? #3260
-
I have a project that I'm using Angular but in Ag-Grid cell renders I'm using the How am I supposed to disable it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The production builds are the default, under the It looks like you're using webpack-dev-server, which I presume is use the In your production build your toolchain should be selecting the |
Beta Was this translation helpful? Give feedback.
-
Sweet! I'll check if in prod it's OK. Thanks! |
Beta Was this translation helpful? Give feedback.
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.