Skip to content

Instantly share code, notes, and snippets.

@tfiechowski
Created August 3, 2019 03:41
Show Gist options
  • Save tfiechowski/c932b0e5254a10e87a9cb99b2f393729 to your computer and use it in GitHub Desktop.
Save tfiechowski/c932b0e5254a10e87a9cb99b2f393729 to your computer and use it in GitHub Desktop.
DocsDeploy styleguide with moduleAliases
const path = require("path");
module.exports = {
webpackConfig: {
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: "babel-loader"
}
]
}
},
title: "React Sample Components Library",
styleguideDir: "dist-docs",
moduleAliases: {
"react-sample-components-library": path.resolve(__dirname, "src")
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment