storybook/lib/cli/bin/index.js
2018-07-04 23:12:47 +03:00

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');