Webpack/npm in replit

I want to know why my main.js bundle doesn’t get loaded or read? am I doing something wrong with the build?

also is the reason why main.js has an underline in the DOM is because it can’t find it?

No, that’s just to show that it’s a link.

Could you send the contents of main.js?

//main.js
(()=>{"use strict";console.log("gagagag")})()

//index
import he from "./jj.js";
he();

//jj
function h() {
  console.log("gagagag");
}

export default h;

Can you make your Repl public?

Also, format your code like this:

```js
// code here
```
1 Like

i think it’s already public
https://replit.com/@ICT-1-Dangkulos/wbpk?s=app

what’s the issue? It loads properly for me

1 Like

is it the way I run the webpack build?

when I try to visit the main js file through here it shows not found

this shows up