1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-04-05 01:41:05 +08:00
storybook/scripts/build-manager.js
2021-02-06 17:09:59 +01:00

10 lines
260 B
JavaScript

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