Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
babel config: full preset env name
Browse files Browse the repository at this point in the history
  • Loading branch information
farwayer committed Oct 11, 2018
1 parent c7b3dda commit a4f1201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const envConfig = process.env.ESM ? {modules: false} : {};

module.exports = {
presets: [
['@babel/env', envConfig],
['@babel/preset-env', envConfig],
],
plugins: [
['@babel/plugin-proposal-decorators', {legacy: true}],
Expand Down

0 comments on commit a4f1201

Please sign in to comment.