Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- module: {
- rules: [
- cssRule, // can set the loaders to a constant
- jsxRule, // same as above
- ],
- },
- resolve: {
- alias: {
- // use the relative path to the aliased directory, starting from .storybook
- someDir: path.resolve(__dirname, 'path/to/dir/rel/to/.storybook')
- },
- },
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement