---
title: "JAGDEEP BISHT (@jsbisht) | Hashnode"
description: "JAGDEEP BISHT (@jsbisht) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@jsbisht"
---

@jsbisht

# JAGDEEP BISHT

@jsbisht · Bengaluru, India · Joined December 2021

[Website](https://jsbisht.in/)

### [How to move a directory as a git submodule](https://jsbisht.hashnode.dev/how-to-move-a-directory-as-a-git-submodule?utm_source=hashnode&utm_medium=feed)

Create a git repo using the directory content. Delete the directory content from the original repo (if existing in current git repo being used) Now add this newly created repo as a submodule. git submodule add <git-repo-link> Eg. git submodule add h...

1 min read · [jsbisht.hashnode.dev](https://jsbisht.hashnode.dev/how-to-move-a-directory-as-a-git-submodule?utm_source=hashnode&utm_medium=feed)

[Jun 14, 2022](https://hashnode.com/posts/how-to-move-a-directory-as-a-git-submodule/62a8eb3f0baf4306d94946a5)

### [Add swap partition after system installation on Ubuntu](https://jsbisht.hashnode.dev/add-swap-partition-after-system-installation-on-ubuntu?utm_source=hashnode&utm_medium=feed)

Edit /etc/fstab to add the new swap partition as system swap space. sudo nano /etc/fstab Get the UUID of the partition using the command sudo blkid /dev/<paritionid> Eg: sudo blkid /dev/sda3 Alternative to running above command is by using the preins...

1 min read · [jsbisht.hashnode.dev](https://jsbisht.hashnode.dev/add-swap-partition-after-system-installation-on-ubuntu?utm_source=hashnode&utm_medium=feed)

[Jun 14, 2022](https://hashnode.com/posts/add-swap-partition-after-system-installation-on-ubuntu/62a81834ddf27ef9ab05f039)

### [How to setup jest for ES6 syntax](https://jsbisht.hashnode.dev/how-to-setup-jest-for-es6-syntax?utm_source=hashnode&utm_medium=feed)

Install the following packages: "@babel/core": "^7.15.0", "@babel/preset-env": "^7.15.0", "babel-jest": "^26.0.1", "jest": "^26.0.1" Create a file babel.config.json to be used by babel: { "presets": \["@babel/preset-env"\] } Now you should be able ...

1 min read · [jsbisht.hashnode.dev](https://jsbisht.hashnode.dev/how-to-setup-jest-for-es6-syntax?utm_source=hashnode&utm_medium=feed)

[Jun 10, 2022](https://hashnode.com/posts/how-to-setup-jest-for-es6-syntax/62a2d2b91ba253b13869a2c2)

### [How to override the $lib folder in SvelteKit](https://jsbisht.hashnode.dev/how-to-override-the-dollarlib-folder-in-sveltekit?utm_source=hashnode&utm_medium=feed)

SvelteKit exposes $lib to eliminate the need of using '../../' while importing components into the routes. $lib is by default pointing to: src/lib As per Svelte default boilerplate, it places the components under this location. If you would like t...

1 min read · [jsbisht.hashnode.dev](https://jsbisht.hashnode.dev/how-to-override-the-dollarlib-folder-in-sveltekit?utm_source=hashnode&utm_medium=feed)

[May 5, 2022](https://hashnode.com/posts/how-to-override-the-dollarlib-folder-in-sveltekit/6273ce6e61c9093d16dcd604)

### [Svelte instantiateModule error while importing component](https://jsbisht.hashnode.dev/svelte-instantiatemodule-error-while-importing-component?utm_source=hashnode&utm_medium=feed)

If you are new to Svelte, its very likely that you might run into the following error: Error: failed to load module for ssr: /src/lib/song/SongMeta at instantiateModule (/home/jsbisht/workspace/github/jsbisht/rhythm-guitar-svelte/node\_modules/vit...

1 min read · [jsbisht.hashnode.dev](https://jsbisht.hashnode.dev/svelte-instantiatemodule-error-while-importing-component?utm_source=hashnode&utm_medium=feed)

[May 5, 2022](https://hashnode.com/posts/svelte-instantiatemodule-error-while-importing-component/6273c82661c9093d16dcd4e8)
