mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-13 01:44:14 +01:00
624ccb5b00
- Moved all components into a single directory like nextjs - Made component names consistent with each other - Made component names consistent with their export class names - Added storybook for a few components with the aim to extend this further.
17 lines
356 B
JavaScript
17 lines
356 B
JavaScript
const rules = require('../config/webpack.rules');
|
|
|
|
module.exports = {
|
|
stories: ['../stories/**/*.stories.js'],
|
|
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
|
|
webpackFinal: async config => {
|
|
// do mutation to the config
|
|
|
|
return {
|
|
...config,
|
|
module: {
|
|
...config.module,
|
|
rules
|
|
}
|
|
};
|
|
},
|
|
};
|