Skip to content Skip to sidebar Skip to footer
Showing posts with the label Es6 Modules

Garbage Collect Unused Modules

I am using dynamic import to load scripts written by the user in the browser. I start by placing th… Read more Garbage Collect Unused Modules

Detect Whether Es Module Is Run From Command Line In Node

When using CommonJS modules in Node, you can detect whether a script is being run from the command … Read more Detect Whether Es Module Is Run From Command Line In Node

How To Get `jquery` As A Function (not As A Module Symbol) After Es6 Style `import * As Jquery From "./js/jquery.js";`

I'm experimenting with native ES6 modules support in Chrome. jQuery is not es6 module (no expor… Read more How To Get `jquery` As A Function (not As A Module Symbol) After Es6 Style `import * As Jquery From "./js/jquery.js";`

Does Webpack Make Es6 Modules Compatible With Es5 Browsers?

If I use an ES6 import in a JS file like: import { tempates } from './templates.js'; webpa… Read more Does Webpack Make Es6 Modules Compatible With Es5 Browsers?

Cypress With Systemjs

I am attempting to create some basic tests to try out the new Cypress library. In my test I have cy… Read more Cypress With Systemjs

How To Use Es6(esm) Imports/exports In Cloud Functions

import functions from 'firebase-functions'; import UtilModuler from '@utilModuler' … Read more How To Use Es6(esm) Imports/exports In Cloud Functions