Starting from v0.84.2 the bundler in assets seems to be not working

Hi there

I am not sure what exactly happens starting from version v0.84.2

I read but cannot understand what I need to do starting from version 0.84.2

I use npm module and bundle them in the assets folder which worked perfectly fine until the version 0.84.1 not sure what I have to do starting from 0.84.2 to make it work

any help or input on this will be appreciated


You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.


Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

1 Like

my code in assets/js/bundler.js file is

  import Swiper from 'swiper';

  const swiper = new Swiper('.swiper', {
  direction: 'vertical',
  loop: true,

  pagination: {
    el: '.swiper-pagination',

  navigation: {
    nextEl: '.swiper-button-next',
    prevEl: '.swiper-button-prev',

  scrollbar: {
    el: '.swiper-scrollbar',

This is not what I asked for.