Skip to content

Commit

Permalink
Re-enable babel-plugin-ember-modules-api-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Sep 14, 2021
1 parent 867a385 commit 752c627
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/core/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1497,17 +1497,17 @@ function combinePackageJSON(...layers: object[]) {
function macroBabelPlugins() {
const isProduction = process.env.EMBER_ENV === 'production';
const isDebug = !isProduction;
// const ignore = {
// '@ember/debug': ['assert', 'deprecate', 'warn'],
// '@ember/application/deprecations': ['deprecate'],
// };
const ignore = {
'@ember/debug': ['assert', 'deprecate', 'warn'],
'@ember/application/deprecations': ['deprecate'],
};

return [
// [
// require.resolve('babel-plugin-ember-modules-api-polyfill'),
// { ignore },
// '@embroider/core:babel-plugin-ember-modules-api-polyfill',
// ],
[
require.resolve('babel-plugin-ember-modules-api-polyfill'),
{ ignore },
'@embroider/core:babel-plugin-ember-modules-api-polyfill',
],
[
require.resolve('babel-plugin-debug-macros'),
{
Expand Down

0 comments on commit 752c627

Please sign in to comment.