1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-04-08 03:51:49 +08:00
2020-12-15 17:59:01 +08:00

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