Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
stats: stats.minimal,
},
resolve: {
alias: {
'react-big-calendar$': path.resolve(__dirname + '/../src/index.js'),
'react-big-calendar/lib': path.resolve(__dirname, '../src'),
},
},
module: {
rules: [
rules.js({}),
rules.images(),
rules.fonts(),
{ oneOf: [rules.css.modules(), rules.css()] },
rules.sass({ browsers }),
{
test: /\.md/,
use: [loaders.js(), 'markdown-jsx-loader'],
},
],
},
plugins: [
plugins.html({ title: 'React Big Calendar' }),
plugins.extractCss(),
],
}
module.exports = function({ config }) {
config.module.rules = [
rules.js(),
rules.fonts(),
rules.images(),
rules.css(),
rules.sass({ browsers }),
]
return config
}