open-nomad/ui/.storybook/webpack.config.js

11 lines
229 B
JavaScript

/* eslint-env node */
module.exports = function ({ config }) {
config.module.rules.push({
test: /\.stories\.jsx?$/,
loaders: [require.resolve('@storybook/source-loader')],
enforce: 'pre',
});
return config;
};