mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
403 B
11 lines
403 B
define: DUK_USE_COMMONJS_MODULES
|
|
introduced: 1.0.0
|
|
removed: 2.0.0
|
|
default: true
|
|
tags:
|
|
- ecmascript
|
|
description: >
|
|
Enable support for CommonJS modules. When enabled, the global require()
|
|
function provides a simple module loader facility which depends on the user
|
|
providing low level module searching functionality. When disabled, the
|
|
global require() function is present but throws an error.
|
|
|