1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-04-05 03:01:07 +08:00
storybook/scripts/build-manager.js
2021-02-03 22:34:44 +08:00

10 lines
258 B
JavaScript

const { buildStaticStandalone } = require('../lib/core/dist/cjs/server/build-static');
process.env.NODE_ENV = 'production';
buildStaticStandalone({
managerOnly: true,
outputDir: './lib/core/prebuilt',
configDir: './scripts/build-manager-config',
});