Skip to content

Commit aa0b128

Browse files
Update rollup config
1 parent 2988d3a commit aa0b128

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

ember-meta/babel.config.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"plugins": [
33
"@embroider/addon-dev/template-colocation-plugin",
4-
["babel-plugin-ember-template-compilation", {
5-
"targetFormat": "hbs",
6-
"transforms": []
7-
}],
8-
["module:decorator-transforms", { "runtime": { "import": "decorator-transforms/runtime" } }],
4+
[
5+
"babel-plugin-ember-template-compilation",
6+
{
7+
"targetFormat": "hbs",
8+
"transforms": []
9+
}
10+
],
11+
[
12+
"module:decorator-transforms",
13+
{ "runtime": { "import": "decorator-transforms/runtime" } }
14+
]
915
]
1016
}

ember-meta/rollup.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
// up your addon's public API. Also make sure your package.json#exports
2121
// is aligned to the config here.
2222
// See https://github.com/embroider-build/embroider/blob/main/docs/v2-faq.md#how-can-i-define-the-public-exports-of-my-addon
23-
addon.publicEntrypoints(["index.js", "**/*.js"]),
23+
addon.publicEntrypoints(['index.js', '**/*.js']),
2424

2525
// These are the modules that should get reexported into the traditional
2626
// "app" tree. Things in here should also be in publicEntrypoints above, but
@@ -30,7 +30,6 @@ export default {
3030
'helpers/**/*.js',
3131
'modifiers/**/*.js',
3232
'services/**/*.js',
33-
"modifiers/**/*.js"
3433
]),
3534

3635
// Follow the V2 Addon rules about dependencies. Your code can import from

0 commit comments

Comments
 (0)