I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
@mindplay
, the reason you need to cd into your styleguide folder is because styleguide has your tsconfig.json and webpack.config.js in there. If you don't want the styleguide to be the root, simply move your tsconfig.json and webpack.config.js to your root folder. If for some reason you can't change that, simply call webpack with an explicit configuration file and point it to ./styleguide/webpack.config.js, e.g.
👋 @thelarkinn
@mindplay , the reason you need to cd into your
styleguide
folder is becausestyleguide
has yourtsconfig.json
andwebpack.config.js
in there. If you don't want thestyleguide
to be the root, simply move yourtsconfig.json
andwebpack.config.js
to yourroot
folder. If for some reason you can't change that, simply call webpack with an explicit configuration file and point it to./styleguide/webpack.config.js
, e.g.I have a typescript preact boilerplate if you want to take a peek.
Hit me up if you're still stuck.