Skip to content

Commit

Permalink
fix inconsistent "loose" babel warning
Browse files Browse the repository at this point in the history
Fixes #403.

We originally used loose here because ember-cli-babel did, because it was required when using decorators. But that is no longer true and ember-cli-babel also defaults to strict.
  • Loading branch information
ef4 committed May 24, 2021
1 parent dfd511c commit 912899f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-auto-import/ts/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default class Package {

let plugins = [
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
[require.resolve('@babel/plugin-proposal-class-properties'), { loose: true }],
[require.resolve('@babel/plugin-proposal-class-properties'), { loose: false }],
[
require.resolve('babel-plugin-htmlbars-inline-precompile'),
{
Expand Down

0 comments on commit 912899f

Please sign in to comment.