mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
10 lines
255 B
JavaScript
Executable File
10 lines
255 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
const path = require('path');
|
|
|
|
require('@babel/register')({
|
|
// see https://github.com/babel/babel/issues/7701#issuecomment-389720069
|
|
cwd: path.resolve(__dirname, '..'),
|
|
only: [/(@storybook|lib)\/cli/],
|
|
});
|
|
require('./generate');
|