UNPKG

wemeta-maps

Version:

Maps package for the WeMeta marketplace

29 lines (26 loc) 594 B
const path = require('path'); const toPath = _path => path.join(process.cwd(), _path); module.exports = { addons: [ { name: '@storybook/addon-docs', options: { configureJSX: true, }, }, ], stories: ['../**/*.stories.tsx'], webpackFinal: async config => { return { ...config, resolve: { ...config.resolve, alias: { ...config.resolve.alias, '@emotion/core': toPath('node_modules/@emotion/react'), 'emotion-theming': toPath('node_modules/@emotion/react'), }, }, }; }, };