Skip to content

Commit

Permalink
Merge pull request #16770 from mann-david/patch-3
Browse files Browse the repository at this point in the history
Add require line for TsconfigPathsPlugin
  • Loading branch information
shilman committed Nov 30, 2021
1 parent fcfc31c commit bd5f63f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
```js
// .storybook/main.js

const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');

module.exports = {
webpackFinal: async (config) => {
config.resolve.plugins = [
Expand All @@ -12,4 +14,4 @@ module.exports = {
return config;
},
};
```
```

0 comments on commit bd5f63f

Please sign in to comment.