We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d7d21 commit d113a84Copy full SHA for d113a84
packages/configurator/.storybook/main.js
@@ -1,5 +1,6 @@
1
/* eslint-disable no-param-reassign */
2
const path = require("path");
3
+const { NormalModuleReplacementPlugin } = require("webpack");
4
5
module.exports = {
6
stories: ["../stories/**/*.stories.tsx"],
@@ -55,6 +56,12 @@ module.exports = {
55
56
],
57
});
58
59
+ config.plugins.push(
60
+ new NormalModuleReplacementPlugin(
61
+ /\.graphql$/,
62
+ path.resolve(__dirname, "../src/gql/__generated__/index.tsx")
63
+ )
64
+ );
65
return config;
66
},
67
};
0 commit comments