You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
426 B
20 lines
426 B
require('@babel/register')
|
|
|
|
const baseConfig = require('../internals/webpack/webpack.config.base')
|
|
const merge = require('webpack-merge')
|
|
|
|
const config = merge.smart(baseConfig, {
|
|
default: {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.stories\.jsx?$/,
|
|
loaders: [require.resolve('@storybook/addon-storysource/loader')],
|
|
enforce: 'pre'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
})
|
|
|
|
module.exports = config
|
|
|