mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-09 23:41:55 +01:00
2cc179acc1
- Added searchParams based router for easier testing - Added more stories to the storybook
24 lines
499 B
JavaScript
24 lines
499 B
JavaScript
const rules = require('../config/webpack.rules');
|
|
|
|
module.exports = {
|
|
stories: ['../stories/**/*.stories.js'],
|
|
addons: [
|
|
'@storybook/addon-actions',
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-a11y/register',
|
|
'@storybook/addon-storysource',
|
|
],
|
|
webpackFinal: async config => {
|
|
// do mutation to the config
|
|
console.log("config.module", config.module);
|
|
|
|
return {
|
|
...config,
|
|
module: {
|
|
rules: [
|
|
...rules,
|
|
]
|
|
}
|
|
};
|
|
},
|
|
};
|