Add file to angular project -
i want add angular project project put production. did ng build in angular project.
then add 5 files production project this:
<script type="text/javascript" src="/etc/chat/inline.bundle.js"></script> <script type="text/javascript" src="/etc/chat/polyfills.bundle.js"></script> <script type="text/javascript" src="/etc/chat/styles.bundle.js"></script> <script type="text/javascript" src="/etc/chat/vendor.bundle.js"></script> <script type="text/javascript" src="/etc/chat/main.bundle.js"></script>
i think miss work. there not sequence of numbers , letters put after inline.bundle, or polyfills.bundle ... example ? :
<script type="text/javascript" src="inline.bundle.js?b82bfbf37295902d0092"></script> <script type="text/javascript" src="polyfills.bundle.js?b82bfbf37295902d0092"></script> <script type="text/javascript" src="scripts.bundle.js?b82bfbf37295902d0092"></script> <script type="text/javascript" src="styles.bundle.js?b82bfbf37295902d0092"></script> <script type="text/javascript" src="vendor.bundle.js?b82bfbf37295902d0092"></script> <script type="text/javascript" src="main.bundle.js?b82bfbf37295902d0092"></script>
make use of ng build --prod --aot --output-hashing none
if dont want hash added bundle files.
Comments
Post a Comment