babel-plugin-object-freeze
Uses Object.freeze
to freeze all object and array expressions.
Example transpilation
Input:
const config = firstThreeAlphabetLetters: 'a' 'b' 'c' ;
Output:
const config = Object;
Motivation
To enforce complete immutability.
Configuration
N/A