Skip to content

Commit

Permalink
FIX static build with DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Apr 10, 2020
1 parent 7c20b3b commit 19c2420
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/core/src/server/build-static.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,11 @@ async function buildManager(configType, outputDir, configDir, options) {

logger.info('=> Loading manager config..');
const managerConfig = await loadManagerConfig({
...options,
configType,
outputDir,
configDir,
corePresets: [require.resolve('./manager/manager-preset.js')],
frameworkPresets: options.frameworkPresets,
docsMode: options.docsMode,
previewUrl: options.previewUrl,
});

if (options.debugWebpack) {
Expand All @@ -144,12 +142,12 @@ async function buildPreview(configType, outputDir, packageJson, options) {

logger.info('=> Loading preview config..');
const previewConfig = await loadConfig({
...options,
configType,
outputDir,
packageJson,
corePresets: [require.resolve('./preview/preview-preset.js')],
overridePresets: [require.resolve('./preview/custom-webpack-preset.js')],
...options,
});

if (debugWebpack) {
Expand Down

0 comments on commit 19c2420

Please sign in to comment.