Skip to content

Commit

Permalink
Remove vm-babel-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 30, 2023
1 parent 99faf1f commit c0365f5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
17 changes: 15 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const buildDebugMacroPlugin = require('./build-debug-macro-plugin');
const buildStripClassCallcheckPlugin = require('./build-strip-class-callcheck-plugin');
const injectBabelHelpers = require('./transforms/inject-babel-helpers').injectBabelHelpers;
const debugTree = require('broccoli-debug').buildDebugCallback('ember-source:addon');
const vmBabelPlugins = require('@glimmer/vm-babel-plugins');
const Overrides = require('./overrides');
const SilentError = require('silent-error');
const SupportedBrowsers = require('./browsers');
Expand Down Expand Up @@ -155,7 +154,21 @@ module.exports = {
plugins: [
babelHelperPlugin,
buildDebugMacroPlugin(!isProduction),
...vmBabelPlugins({ isDebug: !isProduction }),
[
require.resolve('babel-plugin-debug-macros'),
{
debugTools: {
source: '@glimmer/global-context',
isDebug: !isProduction,
},
externalizeHelpers: {
module: true,
},
flags: [{ source: '@glimmer/env', flags: { DEBUG: !isProduction } }],
},
'ember.js_@glimmer/env-debug-macros',
],

[
require.resolve('@babel/plugin-transform-block-scoping'),
{ throwIfClosureRequired: true },
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"@glimmer/util": "0.85.4",
"@glimmer/validator": "0.85.4",
"@glimmer/vm": "0.85.4",
"@glimmer/vm-babel-plugins": "0.85.4",
"@simple-dom/interface": "^1.4.0",
"babel-plugin-debug-macros": "^0.3.4",
"babel-plugin-filter-imports": "^4.0.0",
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c0365f5

Please sign in to comment.