This is a basic setup for developing JavaScript and TypeScript inside of Webflow.
-
Install packages
npm install
- Place this script tag in your Webflow Site.
<script src="http://localhost:8080/bundle.js" type="text/javascript" crossorigin="anonymous"></script>
- Run the webpack dev server
npm run serve
- Build the production JavaScript
npm run build