Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
fea11ea6
Commit
fea11ea6
authored
6 years ago
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove reference to deprecated preset-es2015
parent
ba689f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
webpack.config.js
webpack.config.js
+0
-11
No files found.
webpack.config.js
View file @
fea11ea6
...
...
@@ -173,17 +173,6 @@ function parameterize () {
const
fn
=
config
.
output
.
filename
;
config
.
output
.
filename
=
`
${
fn
.
replace
(
/
\.
js$/
,
''
)}
.min.js`
;
}
if
(
lang
===
'
es2015
'
)
{
console
.
log
(
"
Making an es2015 build
"
);
config
.
module
.
rules
.
forEach
((
rule
)
=>
{
if
(
rule
.
use
.
loader
===
'
babel-loader
'
)
{
rule
.
use
.
options
.
presets
=
[
[
"
@babel/preset-es2015
"
]
]
}
});
}
}
parameterize
();
...
...
This diff is collapsed.
Click to expand it.
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