Source code
Revision control
Copy as Markdown
Other Tools
# -*- 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
DIRS += [
"micromatch",
"source-map",
]
DevToolsModules(
'fluent-react.js',
'fuzzaldrin-plus.js',
'immutable.js',
'jszip.js',
'md5.js',
'react-dom-factories.js',
'react-redux.js',
'react-router-dom.js',
'react-test-renderer-shallow.js',
'react-test-renderer.js',
'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.js', 'react-dom.js')
RenamedDevToolsModules('react-dom-server-dev.js', 'react-dom-server.js')
RenamedDevToolsModules('react-dom-test-utils-dev.js', 'react-dom-test-utils.js')
RenamedDevToolsModules('react-prop-types-dev.js', 'react-prop-types.js')
RenamedDevToolsModules('react-dev.js', 'react.js')
else:
DevToolsModules(
'react-dom-server.js',
'react-dom-test-utils.js',
'react-dom.js',
'react-prop-types.js',
'react.js'
)