Phaser 3 project template cant find my folder

hi,
i followed zenva’s tutorial on setting up the phaser 3 template with webpack/babel/etc, and everything worked fine until i added a class of my own.

i exported the class like this

Blockquote
export default class MyClass

which doesnt extend anything. then tried to import it in index.js like this

Blockquote
import MyClass from ‘./util/myClass.js’

but npm run start throws the following error

Blockquote
ERROR in ./src/scenes/TitleScene.js
Module not found : Error: Can’t resolve './util/myClass.js in pathToTitleScene etc.

do i need to notify webpack that i’ve added this folder with my custom classes?

thanks in advance

oops, after hours of wading through the mud trying to understand what could be wrong with webpack/babel/etc. i noticed that the path to my class folder was incorrect. stupid, yes, but i learned a few things about webpacking technology.

I’m having trouble getting external scene files to run and am curious to know what the exact path error was.