Skip to content

Commit

Permalink
Add note about webpack-node-externals
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Apr 23, 2022
1 parent a424c87 commit 026a8b2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,19 @@ declare module 'quasar/src/index.all' {
export * from 'quasar'
}
```

If you are externalizing node modules, you need to allowlist quasar

```ts
import nodeExternals from 'webpack-node-externals'

export default {
externals: [
nodeExternals({
allowlist: [
/^quasar*/,
],
}),
],
}
```

0 comments on commit 026a8b2

Please sign in to comment.