How to bundle the tsed project using webpack. #1955
-
Bundle with webpack is successful. But when I run the project from the bundled file, it doesn't work. In fact, it's not really binding properly. At run time, the model references a different one. webpack.config file
babelrc file
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Please use issue for that and create a reproducible example. The cli generate the correct webpack configuration. |
Beta Was this translation helpful? Give feedback.
-
Yes, If the mode is set to production, the tsed library is not being bundled while building. |
Beta Was this translation helpful? Give feedback.
Yes,
I have solved the issue, by setting mode="none" in webpack config file.
If the mode is set to production, the tsed library is not being bundled while building.