1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/ui/.storybook/webpack.config.js

14 lines
359 B
JavaScript
Raw Normal View History

const genDefaultConfig = require('@kadira/storybook/dist/server/config/defaults/webpack.config.js');
const path = require('path');
module.exports = (config, env) => {
var config = genDefaultConfig(config, env);
config.module.loaders.push({
test: /.md$/,
loaders: ["raw"],
include: path.resolve(__dirname, '../src')
});
return config;
};