Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Unused plugins.bundle.js (Ceres HTML)


Hello,

I would like to know how I can reduce the plugins/global/plugins.bundle.js and assets/js/scripts.bundle.js file of the ceres html template. Since I currently have all my website created and only use 30% of these files, so I would like to know how to reduce the code that I do not use.

Thank you.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

You can refer to this post to reduce the bundle size

Regards.



Hello Sean,

Is it possible to do otherwise? As I don't have Gulp or Webpack and I already have the whole template created, as I didn't realise this from the beginning and I'm only using 30% of this file.

Is there a way to do it manually? I'm using cPanel and I'm having a hard time installing Gulp and Webpack.

Thank you very much.



Hi,

The manual way is not possible since the precompiled assets are large and it has tones of dependencies.

In order to customize the build you will need to use Gulp. It's easy to install and nowadays all developers(beginners and professionals) use it as it's for development only, when you deploy your site to hosting you do not use gulp, it's just managing your assets. Please follow the documentation of Ceres and you will need a few hours to figure it out and you are ready to go with optimized assets.

Regards,
Sean


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(