]> source.dussan.org Git - nextcloud-server.git/commit
Transpile also dependencies in node_modules
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 23 May 2019 15:03:04 +0000 (17:03 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Tue, 29 Oct 2019 11:56:00 +0000 (12:56 +0100)
commit515171a653d92c292070ef047c91fd724e0de45b
tree36fd8754b7f949d9929873cae449497823ef5d1e
parentfd90af50d910e659aa8df0d380424383c6c09620
Transpile also dependencies in node_modules

Some of the dependencies in node_modules, such as "p-queue", are not ES5
compatible, so they need to be transpiled to work in older browsers like
Internet Explorer 11.

Besides not excluding the dependencies for babel-loader in
"webpack.common.js" the global Babel configuration must be defined in
"babel.config.js", as in Babel 7.X, when ".babelrc.js" is used, all the
dependencies in "node_modules" are ignored (even if whitelisted in the
configuration file itself).

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
.babelrc.js [deleted file]
babel.config.js [new file with mode: 0644]
build/files-checker.php
webpack.common.js