mirror of
https://github.com/primer/css.git
synced 2024-11-30 11:17:05 +03:00
13 lines
256 B
JavaScript
13 lines
256 B
JavaScript
|
exports.onCreateWebpackConfig = ({actions, stage, plugins}) => {
|
||
|
actions.setWebpackConfig({
|
||
|
node: {
|
||
|
fs: 'empty'
|
||
|
},
|
||
|
plugins: [
|
||
|
plugins.define({
|
||
|
__DEV__: stage === 'develop' || stage === 'develop-html'
|
||
|
})
|
||
|
]
|
||
|
})
|
||
|
}
|