My Public Notepad

Bits and bobs about computers and programming

Pages

  • Home
  • Software Engineering
  • Security
  • Data Science
  • Disclaimer
  • About

Wednesday, 10 October 2018

Transpiling TypeScript with Babel within Rollup.js setup

Demo project is on GitHub.

References:

https://rollupjs.org/guide/en
https://www.npmjs.com/package/rollup-plugin-babel
https://github.com/rollup/rollup-plugin-babel
https://github.com/rollup/rollup-plugin-babel/issues/253
https://code.lengstorf.com/learn-rollup-js/

Posted by Bojan Komazec at 16:52
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Babel, JavaScript, Rollup.js, Software Engineering, TypeScript

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Stack Overflow

profile for Bojan Komazec at Stack Overflow, Q&A for professional and enthusiast programmers

Support my blog :-)

Twitter

Tweets by @bojan_komazec

Search This Blog

Blog Archive

  • ►  2025 (15)
    • ►  June (2)
    • ►  May (3)
    • ►  March (1)
    • ►  February (5)
    • ►  January (4)
  • ►  2024 (81)
    • ►  August (13)
    • ►  July (13)
    • ►  June (9)
    • ►  May (25)
    • ►  April (13)
    • ►  March (2)
    • ►  February (6)
  • ►  2023 (13)
    • ►  November (1)
    • ►  October (2)
    • ►  May (1)
    • ►  March (4)
    • ►  February (5)
  • ►  2022 (66)
    • ►  December (3)
    • ►  November (6)
    • ►  October (4)
    • ►  August (1)
    • ►  July (5)
    • ►  June (3)
    • ►  May (19)
    • ►  April (1)
    • ►  March (5)
    • ►  February (11)
    • ►  January (8)
  • ►  2021 (18)
    • ►  December (3)
    • ►  October (1)
    • ►  June (1)
    • ►  April (2)
    • ►  March (5)
    • ►  February (2)
    • ►  January (4)
  • ►  2020 (48)
    • ►  December (1)
    • ►  November (3)
    • ►  October (3)
    • ►  September (5)
    • ►  August (1)
    • ►  July (6)
    • ►  June (2)
    • ►  May (1)
    • ►  April (4)
    • ►  March (1)
    • ►  February (4)
    • ►  January (17)
  • ►  2019 (41)
    • ►  December (7)
    • ►  November (3)
    • ►  October (3)
    • ►  August (3)
    • ►  July (3)
    • ►  June (2)
    • ►  May (2)
    • ►  April (7)
    • ►  March (7)
    • ►  February (3)
    • ►  January (1)
  • ▼  2018 (29)
    • ►  December (5)
    • ▼  October (8)
      • How to install Node.js on Windows
      • Introduction to TSLint
      • Introduction to TypeScript
      • Transpiling TypeScript with Babel within Rollup.js...
      • How to set custom text and background color for th...
      • Transpiling TypeScript with Babel
      • How to install Node.js on Ubuntu 18.04
      • Using Rollup.js to bundle TypeScript modules
    • ►  September (14)
    • ►  August (1)
    • ►  March (1)
  • ►  2017 (23)
    • ►  November (2)
    • ►  October (2)
    • ►  April (9)
    • ►  March (2)
    • ►  February (1)
    • ►  January (7)
  • ►  2016 (9)
    • ►  August (5)
    • ►  July (1)
    • ►  May (1)
    • ►  January (2)
  • ►  2015 (18)
    • ►  December (10)
    • ►  September (1)
    • ►  August (6)
    • ►  January (1)
  • ►  2014 (3)
    • ►  November (2)
    • ►  March (1)
  • ►  2013 (3)
    • ►  June (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2012 (35)
    • ►  December (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (5)
    • ►  April (11)
    • ►  March (3)
    • ►  February (7)
    • ►  January (5)
  • ►  2011 (56)
    • ►  December (3)
    • ►  November (1)
    • ►  October (11)
    • ►  September (10)
    • ►  August (25)
    • ►  July (4)
    • ►  June (2)

Labels

  • .NET (4)
  • .NET Core (3)
  • Agile (1)
  • AI (2)
  • airmon-ng (1)
  • AKS (1)
  • Algorithms (1)
  • Alpine (1)
  • Amazon Bedrock (1)
  • Amazon CloudWatch (1)
  • Amazon Elastic Kubernetes Service (7)
  • Amazon ElastiCache (1)
  • Amazon GuardDuty (2)
  • Amazon Linux (1)
  • Anaconda (6)
  • Ansible (6)
  • Async (7)
  • Autoscaling (1)
  • AWS (48)
  • AWS AMI (1)
  • AWS CLI (1)
  • AWS CodeDeploy (1)
  • AWS EBS (2)
  • AWS EC2 (9)
  • AWS EC2 Auto scaling (4)
  • AWS ECS (1)
  • AWS EFS (2)
  • AWS EKS (6)
  • AWS ELB (2)
  • AWS Fargate (1)
  • AWS IAM (4)
  • AWS Lambda (2)
  • AWS RDS (1)
  • AWS S3 (3)
  • AWS Secrets Manager (1)
  • AWS SQS (1)
  • AWS VPC (2)
  • Axios (1)
  • Axis2C (6)
  • Azure Kubernetes Service (1)
  • Babel (3)
  • Bash (5)
  • Batch file (3)
  • Bazel (1)
  • Big O Notation (1)
  • BitLocker (1)
  • Boost (3)
  • brew (1)
  • Browserify (1)
  • C (2)
  • C# (21)
  • C++ (56)
  • Caffe (1)
  • CDN (1)
  • chmod (1)
  • chown (1)
  • Chromium (1)
  • CI (1)
  • CI/CD (2)
  • Cloud (1)
  • Cloud CDN (1)
  • Cloud DNS (1)
  • Cloud Storage (1)
  • Cloudflare (2)
  • CloudFront (1)
  • CloudWatch (2)
  • CMake (2)
  • CodeSynthesis (1)
  • Coding Practices (1)
  • COM (1)
  • Compute Engine (1)
  • Computer architecture (7)
  • Computer Vision (13)
  • conda (5)
  • Confluence (2)
  • containerd (1)
  • Containerization (1)
  • Coursera (3)
  • CRI (1)
  • cron (1)
  • crontab (1)
  • cryptography (3)
  • CUDA (2)
  • curl (2)
  • Cygwin (1)
  • Data Binding (1)
  • Data Science (34)
  • DB (7)
  • DB dump (3)
  • Debugging (2)
  • Deployment (2)
  • Design Patterns (8)
  • DevOps (130)
  • Diff (1)
  • DLL (1)
  • DNS (5)
  • Docker (32)
  • docker-compose (3)
  • DOS (2)
  • Doxygen (2)
  • DVD (2)
  • DynamoDB (3)
  • EBS (1)
  • ECK (2)
  • Eclipse (1)
  • EKS (3)
  • Elasticsearch (6)
  • ELK (3)
  • Endianness (2)
  • environment variables (4)
  • ESLint (3)
  • Fast R-CNN (1)
  • Faster R-CNN (1)
  • ffmpeg (1)
  • Fiddler (1)
  • Filesystem (2)
  • Firewall (1)
  • Freeware (1)
  • functor (1)
  • g++ (3)
  • gcc (1)
  • GCP (5)
  • gdb (2)
  • GeminiAI (1)
  • gh (1)
  • Gimp (1)
  • Ginkgo (1)
  • git (7)
  • GitHub (2)
  • GitHub Actions (1)
  • GitHub CLI (1)
  • GKE (1)
  • GNU (4)
  • Go (22)
  • Google (1)
  • Google Cloud (5)
  • Google Colab (1)
  • Google Kubernetes Engine (1)
  • GParted (2)
  • GPG (1)
  • GPU (2)
  • Grafana (1)
  • Graphviz (2)
  • gSOAP (1)
  • GStreamer (1)
  • GTK (1)
  • GUI (9)
  • Gulp (1)
  • Guththila (1)
  • H2O (1)
  • Hacking (2)
  • HandBrake (1)
  • Hardware (3)
  • HashiCorp Cloud Provider (1)
  • HCP (1)
  • Helm (4)
  • HTTP (4)
  • IaaS (1)
  • Idiom (1)
  • IEEE802.11 (1)
  • IIS (8)
  • Image Classification (1)
  • Image editor (1)
  • Image Processing (1)
  • Image Recognition (1)
  • Image Segmentation (2)
  • ImageMagick (1)
  • INetCfg (1)
  • Ingress (1)
  • Instance Segmentation (1)
  • Integration Testing (1)
  • Interview (8)
  • IP (3)
  • IPv4 (1)
  • IPv6 (2)
  • JavaScript (18)
  • Jest (1)
  • JetPack (3)
  • Jetson (8)
  • Jetson Nano (3)
  • JIRA (1)
  • jq (1)
  • JQL (1)
  • JSON (3)
  • JSON Spirit (1)
  • Jupyter Notebook (3)
  • JupyterLab (2)
  • Kali Linux (1)
  • Karpenter (1)
  • Kibana (3)
  • kubeadm (1)
  • kubectl (2)
  • Kubernetes (27)
  • Lambda (3)
  • LAMP (1)
  • Linker (1)
  • Linter (2)
  • Linux (76)
  • LLM (1)
  • Load Balancing (5)
  • logging (5)
  • Logstash (1)
  • Mac (4)
  • Machine Learning (22)
  • MacOS (2)
  • make (3)
  • makefile (5)
  • manipulator (1)
  • map (1)
  • Meetup (1)
  • Meld (2)
  • Memory dump (1)
  • Merge (2)
  • Metrics (1)
  • MFC (11)
  • Microservices (2)
  • Minikube (4)
  • Monitoring (1)
  • multithreading (4)
  • MySQL (10)
  • MySQL Workbench (2)
  • mysqlsh (2)
  • NAT (1)
  • Ncat (1)
  • NetBIOS (1)
  • Networking (17)
  • Neural Networks (2)
  • Nginx (1)
  • ngrok (1)
  • NMAKE (3)
  • Nmap (2)
  • node-gyp (1)
  • Node.js (8)
  • Notepad++ (1)
  • npm (1)
  • NSIS (9)
  • NUnit (2)
  • NVIDIA (5)
  • NVIDIA DIGITS (1)
  • nvm (3)
  • Object Detection (2)
  • Object Localization (1)
  • Object Recognition (1)
  • OIDC (3)
  • OOP (2)
  • open-source (1)
  • OpenCV (4)
  • OpenID (3)
  • OpenVpn (1)
  • osx (4)
  • Overfeat (1)
  • PaaS (1)
  • Packer (2)
  • pgAdmin (1)
  • PHP (2)
  • ping (1)
  • Pingdom (2)
  • pip (1)
  • pip3 (1)
  • PKA (1)
  • Port forwarding (1)
  • PostgreSQL (5)
  • Postman (1)
  • Proxy (1)
  • psql (2)
  • PyDev (1)
  • PyInstaller (1)
  • Python (25)
  • PyWin32 (1)
  • QA (1)
  • Qt (1)
  • R (3)
  • R-CNN (1)
  • RawCap (1)
  • read (1)
  • Redis (1)
  • Refactoring (1)
  • RegEx (1)
  • RequireJS (1)
  • Resources (2)
  • Rollup.js (4)
  • Router (1)
  • RStudio (2)
  • S3 (1)
  • SAML (1)
  • scp (2)
  • Scrapy (1)
  • Security (11)
  • sed (2)
  • Semantic Segmentation (1)
  • Serverless (2)
  • Site24x7 (1)
  • Sliding Window (1)
  • SMB (1)
  • SOA (1)
  • SOAP (2)
  • Software (1)
  • Software Engineering (143)
  • SourceTree (1)
  • SQL (3)
  • SRE (1)
  • SSD (1)
  • SSH (8)
  • Static Code Analysis (1)
  • STL (7)
  • Stored Procedure (1)
  • string (4)
  • System Architecture (5)
  • System Design (4)
  • TAP (1)
  • tar (1)
  • Taskbar (1)
  • TCP/IP (3)
  • TDD (3)
  • TeamCity (2)
  • templates (1)
  • TensorFlow (2)
  • TensorRT (1)
  • Terminal (1)
  • Terraform (27)
  • Terraform Cloud (1)
  • Tools (2)
  • TPL (2)
  • Tray icon (1)
  • TSLint (1)
  • TypeScript (7)
  • UAC (1)
  • Ubuntu (70)
  • UML (1)
  • Unicode (3)
  • Unit Testing (4)
  • Unix (10)
  • Unsupervised Machine Learning (1)
  • Vagrant (2)
  • VertexAI (1)
  • vi (2)
  • Viber (1)
  • video (5)
  • vim (1)
  • VirtualBox (8)
  • Virtualenv (4)
  • Virtualenvwrapper (2)
  • Virtualization (1)
  • Visual Studio (10)
  • VLC (1)
  • VPC (1)
  • VS Code (2)
  • VSCode (10)
  • Vue.js (2)
  • WCF (4)
  • Web Applications (1)
  • Web scraping (1)
  • Web Server (2)
  • Web Services (5)
  • webcam (1)
  • wget (2)
  • Wi-Fi (3)
  • WinDbg (1)
  • Windows (15)
  • Windows API (1)
  • Wireshark (3)
  • WSDL (1)
  • wxPython (1)
  • Xerces (1)
  • XML (3)
  • XML Data Binding (3)
  • YAML (3)
  • Yarn (1)
  • YOLO (1)
  • yq (1)

Popular Posts

  • How to install TensorRT Python package on NVIDIA Jetson Nano
    Source code of the following Python script contains: import tensorrt as trt ...and its execution fails: (tensorflow-demo) nvidia@nvi...
  • How to create Windows executable from Python script
    After some online research I decided to give PyInstaller a try. It converts Python scripts into executable Windows programs, able to run wit...
  • How to use nmake and makefile
    Let's build simple "Hello, world!" application from command line by using Microsoft's nmake . Necessary steps are: 1) cr...
  • Viber on PC not syncing? Here is the solution.
    I've noticed that Viber on my Ubuntu PC stopped syncing messages with Viber app on my mobile phone. I didn't find solution on Viber...
  • How to set return values for methods returning Task<T>
    Non-async method which returns Task<T> If method is not marked as async and its return type is Task<T> , it has to return ob...
  • How to install and use Boost C++ Libraries in CMake project on Ubuntu
    Download Boost archive from  Version 1.72.0  (that is the current version at the time of writing). Go to the directory where you want to...
  • NSIS installer for 64-bit Windows
    Here are some tips for creating (32-bit) NSIS installer which installs 64-bit application on 64-bit Windows. There is no 64-bit NSIS Insta...
  • Webcam capture with ffmpeg and OpenCV from Jupyter Notebook
    I want to share here my experience with using OpenCV and ffmpeg to capture a webcam output. Setup: Jupyter notebook running in jupyter-lab U...
  • How to make HTTPS request through HTTP proxy with Axios
    I have a Node.js app which runs in node:alpine Docker image on TeamCity. It uses axios HTTP client to make HTTP(S) requests. To make it ru...
  • How to open BitLocker drive on Ubuntu 18.04
    If we have an external SSD encrypted with BitLocker and want to mount it and access it on Ubuntu we can use dislocker package. dislocker...

About Me

Bojan Komazec
View my complete profile
Powered by Blogger.

Licence

Creative Commons License
My Public Notepad by Bojan Komazec is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Based on a work at bojan-komazec.blogspot.com.