react-mobile-datepicker
Version:
33 lines (29 loc) • 961 B
JavaScript
// you can use this file to add your custom webpack plugins, loaders and anything you like.
// This is just the basic way to add additional webpack configurations.
// For more information refer the docs: https://storybook.js.org/docs/react-storybook/configurations/custom-webpack-config
// IMPORTANT
// When you add this file, we won't add the default configurations which is similar
// to "React Create App". This only has babel loader to load JavaScript.
const path = require('path');
const ROOT_PATH = process.cwd();
module.exports = {
plugins: [
// your custom plugins
],
module: {
rules: [
// add your custom loaders.
{
test: /\.css$/,
use: [
{loader: 'style-loader'},
{loader: 'css-loader'},
{
loader: 'postcss-loader',
options: {config: {path: path.join(ROOT_PATH, 'postcss.config.js')}},
},
],
},
],
},
};