Recently I have added a Javascript library and found that Chrome devtools keeps complaining about a missing source map
Initially I have referenced the .js fil as follows
<script src="https://cdn.jsdelivr.net/npm/@linways/table-to-excel@1.0.4/dist/tableToExcel.js"></script>
The resolution was to replace the .js file with .min.js as follows
<script src="https://cdn.jsdelivr.net/npm/@linways/table-to-excel@1.0.4/dist/tableToExcel.min.js"></script>
Cheers
Samitha
No comments:
Post a Comment