Skip to content

Commit

Permalink
fix formatting in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 authored Mar 24, 2021
1 parent 6bac77c commit 8c8bb1c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,18 @@ Using ember-auto-import inside an addon is almost exactly the same as inside an
```
- if your addon uses [Dynamic Import](#dynamic-import), it is [required](https://github.com/babel/ember-cli-babel#options) that you
register the babel plugin in your `index.js` instead of `ember-cli-build.js`:
`js // index.js module.exports = { options: { babel: { plugins: [ require.resolve('ember-auto-import/babel-plugin') ] } } }; `
FAQ
```js
// index.js
module.exports = {
options: {
babel: {
plugins: [ require.resolve('ember-auto-import/babel-plugin') ]
}
}
};
```

FAQ
---

### `global is undefined` or `can't find module "path"` or `can't find module "fs"`
Expand Down

0 comments on commit 8c8bb1c

Please sign in to comment.