mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = async ({ config }) => {
|
|
config.module.rules.push({
|
|
test: [/\.stories\.js$/],
|
|
loaders: [require.resolve('@storybook/source-loader')],
|
|
include: [path.resolve(__dirname, '../src')],
|
|
enforce: 'pre'
|
|
});
|
|
return config;
|
|
};
|