Skip to content

javascript-compiler-hints/compiler-notations-spec

Repository files navigation

JavaScript Compiler Hint Notation Specifications (Draft)

These specs are in draft and looking for review/feedback. 👉 Motivations & Discussions.

This repository contains the community specifications commonly used JavaScript compiler hint notations, including:

Motivation

JavaScript bundlers and minifiers often rely on compiler hint notations to optimize code. However, there is no clear specification for these notations, and the syntax and semantics of these notations vary across different tools. This makes it difficult for developers to understand and use these notations properly. This repository aims to provide a clear and concise specification for them and to help developers understand and use these notations properly.

Compatibility

This repo also maintains compatibility tables for these notations.

About

(Draft) Specifications for `__PURE__` compiler notation et al.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published