Skip to content

Commit

Permalink
FIX manager using ESM in dev-kits example
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jan 20, 2020
1 parent 27379b7 commit 3429aee
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/dev-kits/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,20 @@ module.exports = {
extensions: [...(config.resolve.extensions || []), '.ts', '.tsx'],
},
}),
managerWebpack: async config => ({
...config,
module: {
...config.module,
rules: [
...config.module.rules,
{
test: /manager\.js$/,
loader: require.resolve('babel-loader'),
options: {
presets: [['react-app', { flow: false, typescript: true }]],
},
},
],
},
}),
};

1 comment on commit 3429aee

@vercel
Copy link

@vercel vercel bot commented on 3429aee Jan 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.