1.0.0 • Published 8 years ago
babel-plugin-define v1.0.0
Define constants to replace with expression
Example:
[ "define", {
"__API_ROOT__": "document.location.origin + '/api'",
"__SOCKET_ROOT__": "document.location.origin",
"__DEBUG__": "false",
"__ACTIVE_CONFIG__": "LiveUI"
} ]
1.0.0
8 years ago