mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
20 lines
349 B
JavaScript
20 lines
349 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
node: {
|
|
__dirname: false,
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js/,
|
|
loaders: ['babel-loader'],
|
|
include: [
|
|
path.resolve(__dirname, '../../lib/ui/src'),
|
|
path.resolve(__dirname, '../../lib/components/src'),
|
|
],
|
|
},
|
|
],
|
|
},
|
|
};
|