Changed recommendation to use .mjs in readme.md#563
Changed recommendation to use .mjs in readme.md#563jt3k wants to merge 1 commit intopreactjs:mainfrom
Conversation
Because with `wmr.config.mjs` now results `SyntaxError: Cannot use import statement outside a module`
|
|
Hmm - doesn't the readme say that using |
|
The new project template does not set the module type at the moment, no. |
|
oh! we should change that - without "type":"module" I think prerendering breaks on Node 12.12 or something like that. |
|
#546 upped the engine req to 12.17.x. Is an issue on < 12.17 be something we'd be concerned with? |
Because with
wmr.config.mjsnow resultsSyntaxError: Cannot use import statement outside a module