storybook/scripts/build-manager.js
2021-02-04 00:06:53 +08:00

10 lines
262 B
JavaScript

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