storybook/app/preact/standalone.js
2022-04-12 14:40:03 +08:00

9 lines
254 B
JavaScript

const build = require('@storybook/core-server/standalone');
const frameworkOptions = require('./dist/cjs/server/options').default;
async function buildStandalone(options) {
return build(options, frameworkOptions);
}
module.exports = buildStandalone;