Open ramlongcat opened 6 years ago
Hi! Thank you!
I honestly don't really know what the best or correct way is. I barely have a clue about javascript and webdev :)
I've had it working in jetbrains' webstorm somehow. After installing typescript and webpack it worked kind of out of the box. I think it's calling webpack by itself.
Looks pretty similar to what you did in vscode :) Also thank you for providing your installation steps!
hey ! first of all very cool project :) (i'm actually doing something similar with bomberman on my spare time). but i was wondering: can you add a tiny section in your readme about how to build the thing ?
i managed to get it working but i went through some issues. for other people that might want to run it, i did this:
npm install webpack webpack-cli --save-dev
npx webpack --config webpack.config.js
but i got a bunch of errors. in order to fix them i had to changeloaders
torules
in the webpack config file.npm install ts-loader --save-dev
npm install typescript
control+shift+b
bundle.js
in dist neargame.html
is there an easier path to get this up & running than what i did ? thanks !