Skip to content

Commit

Permalink
babel is now a named export
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 7, 2022
1 parent f1b5c77 commit f52a8b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/addon-dev/sample-rollup.config.js
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
14 changes: 7 additions & 7 deletions tests/scenarios/v2-addon-dev-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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.Out>{{this.active}}</this.Out>
<this.Button @onClick={{this.flip}} />
<this.Button2 @onClick={{this.flip}} />
`,
Expand Down

0 comments on commit f52a8b9

Please sign in to comment.