BREAKING_CHANGE * initial structure for components rewrite * WIP Input * WIP Label * add button props * add label class name * fix dependency * new examples buttonModules & buttonEmotion + refac * clean up to merge initial code into base branch * remove unused file * extend default theme -- add new colors * chore: prettier formatting * chore: try to exclude feature branch PRs * chore: suggest toml syntax highlighting extension * chore: capture yarn.lock changes * docs: condense readme * chore: update deploy preview to build docz component library * chore: Add component library to deploy preview index * chore: fix invalid tailwindcss config * chore: try tweaking toml to kickstart preview * chore: revert * chore: fix formatting of file index * chore: don't waste precious build minutes on a broken build * chore: chmod build-and-deploy.sh * ci: nuke circleci until we need the workflows on master * debug lerna commands * remove redundant yarn commands * try nohoist * revert tests * attempt to resolve import issue * force update yarn lock * try new workarounds for yarn version * another workaround * shift vtk to extension repo deps * catch vtk addition * update lock * Try older yarn version * try again * debugging * fix: yarn doctor warnings * learn some life lessons from the yarn docs * clean up netlify.toml * clean up netlify.toml * yarn package doctor react-dom * yarn doctor: missing peer dep * yarn doctor, satisfying webpack loader peer deps * fix docz base path for deploy-preview * yarn docter: replaced prePublishOnly usage * More yarn doctoring * ignore .yarn directory * fix last yarn doctor warning * updated yarn lock Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
21 lines
516 B
JavaScript
21 lines
516 B
JavaScript
const path = require('path');
|
|
|
|
exports.onCreateWebpackConfig = args => {
|
|
args.actions.setWebpackConfig({
|
|
resolve: {
|
|
// Note the '..' in the path because docz gatsby project lives in the '.docz' directory
|
|
modules: [
|
|
// monorepo root
|
|
path.resolve(__dirname, '../../../node_modules'),
|
|
// platform/ui
|
|
path.resolve(__dirname, '../node_modules'),
|
|
// .docz
|
|
'node_modules',
|
|
],
|
|
// resolve: {
|
|
// symlinks: true,
|
|
// },
|
|
},
|
|
});
|
|
};
|