Fixed #6709 - Forms: Incorrect main/module/exports error when importing

pull/6711/head
Mert Sincan 2024-11-01 20:17:53 +00:00
parent 491a0d16e8
commit 97b50aea57
1 changed files with 5 additions and 0 deletions

View File

@ -218,9 +218,14 @@ function addUseForm() {
ENTRY.format.es({ input: process.env.INPUT_DIR + 'useform/index.js', output: process.env.OUTPUT_DIR + 'useform/index' }); 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(); addFile();
addStyle(); addStyle();
addResolvers(); addResolvers();
addUseForm(); addUseForm();
addLibrary();
export default ENTRY.entries; export default ENTRY.entries;