Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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(),
],
}
resolve: {
alias: {
components: path.resolve(__dirname, './components'),
react: path.resolve(__dirname, '../node_modules/react'),
},
},
module: {
rules: [
rules.js(),
rules.css(),
rules.less(),
rules.images(),
rules.fonts(),
{
test: /\.md$/,
use: [loaders.js(), path.join(__dirname, './loaders/jsx')],
},
],
},
}