You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like better documentation on the expected output file format of a preprocessor.
If I output as es, I get error Cannot use import statement outside a module
If I output as cjs, I get error require is not defined
Must each output file include all code to be ran, no importing of other files? Why is this? This seems like something that should be fixed. At the minimum, documentation should be improved.
Why is this needed?
Would expect an ES output to work, but it doesn't.
Other
No response
The text was updated successfully, but these errors were encountered:
bvandercar-vt
changed the title
Preprocessor output files that have an import or require
Preprocessor expected output format? Doesn't accept import or `require.
Oct 17, 2024
bvandercar-vt
changed the title
Preprocessor expected output format? Doesn't accept import or `require.
Preprocessor expected output format? Doesn't accept import (es) or require (cjs).
Oct 17, 2024
bvandercar-vt
changed the title
Preprocessor expected output format? Doesn't accept import (es) or require (cjs).
What is the Preprocessor expected output format? Doesn't accept import (es) or require (cjs). Need better documentation.
Oct 17, 2024
What would you like?
Would like better documentation on the expected output file format of a preprocessor.
If I output as
es
, I get errorCannot use import statement outside a module
If I output as
cjs
, I get errorrequire is not defined
Must each output file include all code to be ran, no importing of other files? Why is this? This seems like something that should be fixed. At the minimum, documentation should be improved.
Why is this needed?
Would expect an ES output to work, but it doesn't.
Other
No response
The text was updated successfully, but these errors were encountered: