1
1
mirror of https://github.com/primer/css.git synced 2024-12-11 11:16:04 +03:00
css/docs/gatsby-node.js

13 lines
256 B
JavaScript
Raw Normal View History

2019-12-17 01:09:08 +03:00
exports.onCreateWebpackConfig = ({actions, stage, plugins}) => {
actions.setWebpackConfig({
node: {
fs: 'empty'
},
plugins: [
plugins.define({
__DEV__: stage === 'develop' || stage === 'develop-html'
})
]
})
}