- Revert prefer-named-capture-group due to apparently problematic Babel plugin

This commit is contained in:
Brett Zamir
2019-11-16 10:08:38 +08:00
parent cd0bdd9cce
commit 19f7962c4a
33 changed files with 315 additions and 2146 deletions

View File

@@ -1,6 +1,4 @@
/* eslint-env node */
// Wait until Node 10 to enable
/* eslint-disable prefer-named-capture-group */
// NOTE:
// See rollup-config.config.js instead for building the main (configurable)
@@ -52,7 +50,10 @@ function getRollupObject ({minifying, format = 'umd'} = {}) {
},
plugins: [
babel({
plugins: ['transform-object-rest-spread']
plugins: [
'transform-object-rest-spread',
'@babel/plugin-transform-named-capturing-groups-regex'
]
})
]
};