Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
gencay tekin
jitsi-meet
Commits
6d90adcd
Commit
6d90adcd
authored
8 years ago
by
Lyubomir Marinov
Browse files
Options
Downloads
Patches
Plain Diff
Fix make failure caused by npm link
parent
06d2fb0a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webpack.config.js
+11
-6
webpack.config.js
with
11 additions
and
6 deletions
webpack.config.js
+
11
−
6
View file @
6d90adcd
...
...
@@ -10,6 +10,7 @@ var aui_css = __dirname + '/node_modules/@atlassian/aui/dist/aui/css/';
var
minimize
=
process
.
argv
.
indexOf
(
'
-p
'
)
!=
-
1
||
process
.
argv
.
indexOf
(
'
--optimize-minimize
'
)
!=
-
1
;
var
node_modules
=
__dirname
+
'
/node_modules/
'
;
var
plugins
=
[
new
HasteResolverPlugin
()
];
...
...
@@ -35,14 +36,18 @@ var config = {
// Transpile ES2015 (aka ES6) to ES5. Accept the JSX syntax by React
// as well.
exclude
:
__dirname
+
'
/
node_modules
/
'
,
exclude
:
node_modules
,
loader
:
'
babel
'
,
query
:
{
// XXX The require.resolve bellow solves failures to locate the
// presets when lib-jitsi-meet, for example, is npm linked in
// jitsi-meet. The require.resolve, of course, mandates the use
// of the prefix babel-preset- in the preset names.
presets
:
[
'
es2015
'
,
'
react
'
,
'
stage-1
'
]
'
babel-preset-
es2015
'
,
'
babel-preset-
react
'
,
'
babel-preset-
stage-1
'
]
.
map
(
require
.
resolve
)
},
test
:
/
\.
jsx
?
$/
},{
...
...
@@ -80,7 +85,7 @@ var config = {
},{
//Adds the ability to import json files.
loader
:
'
json
'
,
exclude
:
__dirname
+
'
/
node_modules
/
'
,
exclude
:
node_modules
,
test
:
/
\.
json$/
}],
noParse
:
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets