13 lines
243 B
JavaScript
13 lines
243 B
JavaScript
exports.onCreateWebpackConfig = ({
|
|
stage,
|
|
rules,
|
|
loaders,
|
|
plugins,
|
|
actions,
|
|
}) => {
|
|
actions.setWebpackConfig({
|
|
resolve: {
|
|
fallback: { "os": require.resolve("os-browserify/browser") }
|
|
}
|
|
})
|
|
} |