I need Javascript help.
I don't understand the Javascript module variants (ES / AMD / CJS / IIFE / UMD) at all. This trips me up every single time.
Check this repo: https://github.com/learn-awesome/learndb
I'm running a modern version of NodeJS (18.7.0). But why is it that the command `node_modules/rollup/dist/bin/rollup -c` works perfectly fine but running `node rollup.config.js` (or any other file using code like "import x from Y") throws a syntax error?
How is rollup able to overcome a SYNTAX ERROR?
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.