Skip to content

openlayers/codemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@openlayers/codemod

Automated code modifications to assist with OpenLayers upgrades.

replace-barrel-imports

Rewrite imports from "barrel files".

# rewrite imports in all .js and .mjs files in the path/to/files directory
npx @openlayers/codemod@latest replace-barrel-imports path/to/files

See additional options with the help command (or --help flag).

# see options for the command
npx @openlayers/codemod@latest help replace-barrel-imports

About

Codemods to assist with upgrades

Resources

Stars

Watchers

Forks

Packages

No packages published