Created
August 3, 2019 03:41
-
-
Save tfiechowski/c932b0e5254a10e87a9cb99b2f393729 to your computer and use it in GitHub Desktop.
DocsDeploy styleguide with moduleAliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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