Skip to content

Commit 517f5e4

Browse files
authored
Merge pull request #4 from meirish/change-types
fix types
2 parents 4b65b45 + b51e958 commit 517f5e4

4 files changed

Lines changed: 10 additions & 1 deletion

File tree

babel.publish.config.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
*/
66
module.exports = {
77
plugins: [
8+
[
9+
'@babel/plugin-transform-typescript',
10+
{ allExtensions: true, isTSX: false, allowDeclareFields: true },
11+
],
812
[
913
'babel-plugin-ember-template-compilation',
1014
{

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@
104104
"ember-addon": {
105105
"version": 2,
106106
"type": "addon",
107-
"main": "addon-main.cjs"
107+
"main": "addon-main.cjs",
108+
"app-js": {
109+
"./components/outlet.js": "./dist/_app_/components/outlet.js",
110+
"./components/route-portal.js": "./dist/_app_/components/route-portal.js"
111+
}
108112
}
109113
}

rollup.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export default {
4949
// babel.config.json.
5050
babel({
5151
extensions: ['.js', '.gjs', '.ts', '.gts'],
52+
exclude: ['**/*.d.ts'],
5253
babelHelpers: 'bundled',
5354
configFile: babelConfig,
5455
}),
File renamed without changes.

0 commit comments

Comments
 (0)