UNPKG

rmwc

Version:

A thin React wrapper for Material Design (Web) Components

30 lines (27 loc) 806 B
// 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/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. module.exports = { plugins: [ // your custom plugins ], module: { rules: [ { test: /\.css$/, use: [ require.resolve('css-to-string-loader'), { loader: require.resolve('css-loader'), options: { importLoaders: 1, }, }, ], }, ], }, };