joyent-portal/legacy/ui/.storybook/webpack.config.js
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

14 lines
359 B
JavaScript

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;
};