Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Add flag to load JS files from CDNJS to keep file size down #38

Open
NanashiTheNameless opened this issue Oct 28, 2024 · 0 comments

Comments

@NanashiTheNameless
Copy link

NanashiTheNameless commented Oct 28, 2024

Would it be possible to add a flag to load from cdnjs rather than embedding the whole JS on the html?

As a example:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.21/js/jquery.dataTables.min.js" integrity="sha512-BkpSL20WETFylMrcirBahHfSnY++H2O1W+UnEEO4yNIl+jI2+zowyoGJpbtk6bx97fBXf++WJHSSK2MV4ghPcg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables-buttons/2.4.3/js/dataTables.buttons.min.js" integrity="sha512-ARfw9ACvbrDslvZAGzkJwl1iaFoGg61e7fTzoje0hovrNjnkeFWXjyhdxPz+39KaibFnqsMJqjtSal3vXra5GQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant