Skip to content

Commit

Permalink
Fixed #6709 - Forms: Incorrect main/module/exports error when importing
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 1, 2024
1 parent 491a0d1 commit 97b50ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/forms/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,14 @@ function addUseForm() {
ENTRY.format.es({ input: process.env.INPUT_DIR + 'useform/index.js', output: process.env.OUTPUT_DIR + 'useform/index' });
}

function addLibrary() {
ENTRY.format.es({ input: process.env.INPUT_DIR + 'index.js', output: process.env.OUTPUT_DIR + 'index' });
}

addFile();
addStyle();
addResolvers();
addUseForm();
addLibrary();

export default ENTRY.entries;

0 comments on commit 97b50ae

Please sign in to comment.