Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const path = require('path');
- module.exports = {
- title: 'Kamstup Application Library',
- template: 'docs/templates/index.html',
- sections: [
- {
- name: 'Introduction',
- content: 'docs/introduction.md'
- }, {
- name: 'Components',
- content: 'docs/components.md',
- components: 'src/components/**/*.js'
- }, {
- name: 'Utilities',
- content: 'src/utility/i18n/README.md'
- }
- ],
- showCode: false,
- defaultExample: true,
- // components: './src/components/**/*.js',
- updateWebpackConfig(webpackConfig) {
- const dir = path.resolve(__dirname, './src');
- webpackConfig.module.loaders.push({
- test: /\.jsx?$/,
- include: dir,
- loader: 'babel'
- }, {
- test: /\.css$/,
- include: dir,
- loader: 'style!css?modules&importLoaders=1'
- });
- return webpackConfig;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement