-
CommonJS 방식 require를 ES module 방식(import)으로 바꾸려고 합니다.
그 이점은 아래와 같습니다.
1. ES module 방식으로만 import 가능한 모듈들 이용 가능
2. 모듈의 비동기 임포트가 가능해져 성능이 향상된다 - 요즘은 큰 차이가 없다고도 합니다.
3. import 방식이 더 최신의 문법입니다.
-
I believe recent versions of V8 have native support for ESM modules (https://v8.dev/features/modules). I don't _think_ this is bridged to V8Js via the `setModuleLoader` though (which perhaps just does…
-
```
require() of ES Module C:\Users\veneg\Desktop\digital\node_modules\imagemin-mozjpeg\index.js from C:\Users\veneg\Desktop\digital\node_modules\@aceforth\nuxt-optimized-images\lib\loaders\img-l…
-
This is a...
----
- [ ] :beetle: Bug Report
- [x] :rocket: Feature Request
- [ ] :scroll: Documentation Request
**Note:** for support questions, please use [stackoverflow](https://stackoverf…
-
## Bug Report
Currently, [`executeScript: true`](https://github.com/MichaelCurrin/docsify-js-tutorial/blob/master/docs/README.md#add-scripts) does not run [ES Modules](https://developer…
-
**Describe the bug**
const wrap = require('wrap-ansi'); Error [ERR_REQUIRE_ESM]: require() of ES Module
**Current behavior**
standard-version
**Expected behavior**
standard-version
…
-
Currently the loader is outputting cjs format, we should support both cjs and es2015 modules - probably based on the webpack's + babel versions used.
**Why this is important?**
This prevents webpa…
-
I'm using [`esbuild`](https://esbuild.github.io/) on a project and `pino-debug` doesn't work because we're not using common js. I'm sure the exact same problem exists with webpack and maybe something …
-
Just a question, does anyone use this with an ES module bundler (e.g. Rollup)? I've given it a go and can't get things to work.
Package looks great, thanks.
-
**Describe/explain the bug**
TypeError: Axes is not a function. When attempting to run tests on component that contains @nivo/bar. The test runner being used is vitest. I was looking for a workaround…