Skip to content

Commit

Permalink
compilerPath and expose stage1 plugin from core
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Edwards committed Jun 1, 2022
1 parent 2516c76 commit 52f89a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/addon-dev/sample-babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
someAstTransformPlugin,
'./path/to/another-template-transform-plugin',
],
compilerPath: require.resolve(
'ember-source/dist/ember-template-compiler'
),
},
],
['@babel/plugin-proposal-decorators', { legacy: true }],
Expand Down
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"./src/messages": "./src/messages.js",
"./src/babel-plugin-inline-hbs": "./src/babel-plugin-inline-hbs.js",
"./src/babel-plugin-stage1-inline-hbs": "./src/babel-plugin-stage1-inline-hbs.js",
"./src/mini-modules-polyfill": "./src/mini-modules-polyfill.js",
"./src/load-ember-template-compiler": "./src/load-ember-template-compiler.js"
},
Expand Down

0 comments on commit 52f89a7

Please sign in to comment.