Skip to content

Instantly share code, notes, and snippets.

View MicBosi's full-sized avatar

Michele MicBosi

  • London - Budapest
View GitHub Profile

Setting up Webpack for any Typescript project from Scratch

Welcome to step by step hands-on guide to setup webpack in your upcoming typescript project. Please follow the steps and you should be able to create your own webpack project. Please download the source code from github.

You will learn below things:

  1. ✅Create a Typescript node.js project.
  2. ✅Install Dependencies with webpack & typescripts.
  3. ✅Use Webpack CLI to crate webpack.config.js file and modify webpack.config.js based on our need.

Keybase proof

I hereby claim:

  • I am micbosi on github.
  • I am aqcmxs (https://keybase.io/aqcmxs) on keybase.
  • I have a public key ASApu2FH2_Ix7UD_SaZDQNqhUyYpIgH0tFwp_4xCXDrmQwo

To claim this, I am signing this object:

@MicBosi
MicBosi / fif.sh
Last active May 1, 2016 11:27
"Find in files" shell script utility (case insensitive)
#!/bin/sh
if [ "$#" = '1' ]; then
find . -iname "*$1*" -type f | xargs ls -lh
elif [ "$#" = '2' ]; then
find . -iname "*$1*" -type f -exec grep -Hni --color "$2" {} \;
else
echo 'Usage:'
echo " Find files with <pattern> in their name:"
echo " $0 <filepattern>"