Edits English Wikipedia {{copied}} templates.
Install dependencies (for types support) and start the static server with the following.
npm run start
Import the local file into your common.js file.
mw.loader.load( 'https://localhost:45000/cte-core.js' );