diff --git a/packages/addon-dev/sample-rollup.config.js b/packages/addon-dev/sample-rollup.config.js index 653214ec36..6ca135fe18 100644 --- a/packages/addon-dev/sample-rollup.config.js +++ b/packages/addon-dev/sample-rollup.config.js @@ -1,4 +1,4 @@ -import babel from '@rollup/plugin-babel'; +import { babel } from '@rollup/plugin-babel'; import { Addon } from '@embroider/addon-dev/rollup'; const addon = new Addon({ diff --git a/tests/scenarios/v2-addon-dev-test.ts b/tests/scenarios/v2-addon-dev-test.ts index c630698cad..a533eba312 100644 --- a/tests/scenarios/v2-addon-dev-test.ts +++ b/tests/scenarios/v2-addon-dev-test.ts @@ -31,7 +31,7 @@ appScenarios } `, 'rollup.config.mjs': ` - import babel from '@rollup/plugin-babel'; + import { babel } from '@rollup/plugin-babel'; import { Addon } from '@embroider/addon-dev/rollup'; const addon = new Addon({ @@ -75,26 +75,26 @@ appScenarios `, 'index.js': ` import Component from '@glimmer/component'; - + import FlipButton from './button'; import BlahButton from './button.hbs'; import Out from './out'; - + export default class ExampleComponent extends Component { Button = FlipButton; Button2 = BlahButton; Out = Out; - + @tracked active = false; - + flip = () => (this.active = !this.active); } `, 'index.hbs': ` Hello there! - + {{this.active}} - + `,