@storybook/addon-docs
Version:
Superior documentation for your components
17 lines (15 loc) • 451 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.webpack = webpack;
function webpack() {
var webpackConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
webpackConfig.module.rules.push({
test: /\.vue$/,
loader: 'vue-docgen-loader',
enforce: 'post'
});
return webpackConfig;
}