Skip to content

Commit

Permalink
feat: 🎸 support for other tasks with different entries
Browse files Browse the repository at this point in the history
  • Loading branch information
mjancarik committed Aug 26, 2024
1 parent d8baf8e commit ef462f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/cli/src/merkurConfig.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ emitter.on(
},
es13: {
name: 'es13',
folder: 'es13',
build: {
platform: 'browser',
outdir: `${staticFolder}/es13`,
Expand All @@ -106,6 +107,7 @@ emitter.on(
},
es9: {
name: 'es9',
folder: 'es9',
build: {
platform: 'browser',
target: 'es2018',
Expand Down
2 changes: 1 addition & 1 deletion packages/integration/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async function createAssets({
folders ||
Object.values(merkurConfig?.task)
.filter((task) => task.build.platform !== 'node')
.map((task) => task.name);
.map((task) => task.folder);

const processedAssets = await folders.reduce(
async (assets, folder) => {
Expand Down

0 comments on commit ef462f8

Please sign in to comment.