39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
DIRS += [
|
|
"micromatch",
|
|
"source-map",
|
|
]
|
|
|
|
DevToolsModules(
|
|
'fluent-react.js',
|
|
'fuzzaldrin-plus.js',
|
|
'md5.js',
|
|
'react-dom-factories.mjs',
|
|
'react-redux.js',
|
|
'react-router-dom.js',
|
|
'react-test-renderer.mjs',
|
|
'redux.js',
|
|
'reselect.js',
|
|
'WasmDis.js',
|
|
'WasmParser.js',
|
|
'whatwg-url.js',
|
|
)
|
|
|
|
# react dev versions are used if enable-debug-js-modules is set in .mozconfig.
|
|
if CONFIG['DEBUG_JS_MODULES']:
|
|
RenamedDevToolsModules('react-dom-dev.mjs', 'react-dom.mjs')
|
|
RenamedDevToolsModules('react-dom-test-utils-dev.js', 'react-dom-test-utils.js')
|
|
RenamedDevToolsModules('react-prop-types-dev.mjs', 'react-prop-types.mjs')
|
|
RenamedDevToolsModules('react-dev.mjs', 'react.mjs')
|
|
else:
|
|
DevToolsModules(
|
|
'react-dom-test-utils.js',
|
|
'react-dom.mjs',
|
|
'react-prop-types.mjs',
|
|
'react.mjs'
|
|
)
|