Skip to content

Commit

Permalink
Transpile classes
Browse files Browse the repository at this point in the history
Ref mjmlio#2149

External packages rely on transpiled classes. We can disable
transpilation in major release.
  • Loading branch information
TrySound committed Feb 23, 2021
1 parent 27485fd commit 5c2c2b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
presets: [['@babel/env', { targets: { node: '10' } }]],
presets: [['@babel/env', {
targets: { node: '10' },
include: ['transform-classes'],
}]],
plugins: [
'@babel/proposal-class-properties',
[
Expand Down

0 comments on commit 5c2c2b7

Please sign in to comment.