Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
012064cc
Commit
012064cc
authored
Jul 10, 2017
by
sarahkf
Committed by
GitHub
Jul 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15514 from edx/sarahkf/translation-jsx-files
Update configuration to translate jsx files
parents
d613f37d
7ed9ba19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
conf/locale/babel_third_party.cfg
+3
-0
webpack.config.js
+2
-2
No files found.
conf/locale/babel_third_party.cfg
View file @
012064cc
...
...
@@ -4,3 +4,6 @@ input_encoding = utf-8
[django: **/template/**.html]
input_encoding = utf-8
[reactjs: **.jsx]
input_encoding = utf-8
webpack.config.js
View file @
012064cc
...
...
@@ -93,7 +93,7 @@ var wpconfig = {
)
},
{
test
:
/
\.
js
$/
,
test
:
/
\.
(
js|jsx
)
$/
,
exclude
:
[
/node_modules/
,
namespacedRequireFiles
...
...
@@ -125,7 +125,7 @@ var wpconfig = {
},
resolve
:
{
extensions
:
[
'.js'
,
'.json'
,
'.coffee'
],
extensions
:
[
'.js'
,
'.js
x'
,
'.js
on'
,
'.coffee'
],
alias
:
{
'edx-ui-toolkit'
:
'edx-ui-toolkit/src/'
,
// @TODO: some paths in toolkit are not valid relative paths
'jquery.ui'
:
'jQuery-File-Upload/js/vendor/jquery.ui.widget.js'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment