mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
storybook and template fixes
This commit is contained in:
parent
7371b5e490
commit
0e2c981560
11 changed files with 69 additions and 30 deletions
|
@ -1,5 +1,6 @@
|
|||
const path = require('path');
|
||||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
||||
const { NormalModuleReplacementPlugin } = require('webpack');
|
||||
|
||||
module.exports = {
|
||||
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
|
@ -11,6 +12,11 @@ module.exports = {
|
|||
}),
|
||||
];
|
||||
|
||||
config.resolve.alias['next/link'] = path.resolve(
|
||||
__dirname,
|
||||
'mocks/next_link.tsx'
|
||||
);
|
||||
|
||||
return config;
|
||||
},
|
||||
typescript: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue