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?

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

import he from "./jj.js";

function h() {

export default h;

Can you make your Repl public?

Also, format your code like this:

// code here
1 Like

i think it’s already public

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