---
title: "Discussion on \"JS Splitting\" | Hashnode"
description: "Discussion on \"JS Splitting\". Two posts ago I talked about what code splitting was and how you'd do it, and gave an example with CSS. This post I'm going to talk about how to do it in JavaScript.\nYou can just put all of your scripts into your HTML, but that could get unwieldy. A ..."
url: "https://hashnode.com/posts/js-splitting/61470900699fe76cd348257d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JS Splitting](https://blog.nicm42.me.uk/js-splitting?utm_source=hashnode&utm_medium=feed)

Two posts ago I talked about what code splitting was and how you'd do it, and gave an example with CSS. This post I'm going to talk about how to do it in JavaScript. You can just put all of your scripts into your HTML, but that could get unwieldy. A ...

Sep 19, 2021 · 2 min read · blog.nicm42.me.uk  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

  
[View profile](https://hashnode.com/@nicm42)

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
