mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
const path = require('path');
|
|
const { babelify } = require('./compile-babel');
|
|
|
|
const modulePath = path.resolve('./');
|
|
|
|
babelify({
|
|
modules: true,
|
|
silent: false,
|
|
watch: true,
|
|
// eslint-disable-next-line no-console
|
|
errorCallback: () => console.error('Failed to compile js'),
|
|
});
|