Closed gaber85 closed 1 year ago
Name | Link |
---|---|
Latest commit | 8a14c95d153bea8f70abed95654c651016bfb8b7 |
Latest deploy log | https://app.netlify.com/sites/coffeetasks/deploys/63479a624b701b0008587cc1 |
Deploy Preview | https://deploy-preview-121--coffeetasks.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Great job. @all-contributors add @gaber85 for code.
@SauveJeanLuc
@gaber85 already contributed before to code
Description
This PR attempts at converting cjs extension files to js files and just rely on the default settings.
For more information visit the Node documentation section on
package.json and file extensions
As a bonus, I've updated the
dev
script with an--open
flag so the browser opens whennpm run dev
gets executed.Feel free to comment with any questions and I'll gladly address them.
Motivation and Context
As per the documentation, node interprets js files as commonJS depending on what is passed. By default it allows js files to be interpreted as expected. Given that many of these files are using commonJS e.g.
module.exports{}
, it only makes sense to rely on the default setup.How Has This Been Tested?
The changes pass the pipeline and the app runs as expected.
Checklist: