-
Would it be possible to add support for CommonJS, e.g. `main` in the `package.json` in addition to ES6 modules? We're using Jest for tests and running into an issue with ES6 not being supported.
-
I would like CommonJS support for using in browserify (and others,) which might help simplify the build process & better track dependencies, too.
Here is an example package.json file:
``` json
{
"…
-
Hi, first of all thanks for this package!
In case you didn't know, @andrewbranch has made a type testing tool Are The Types Wrong?
I was looking at [the Are The Types Wrong? page for `react-conf…
-
Now works only with ES modules
jehna updated
2 years ago
-
### Is your feature request related to a problem? Please describe.
在dev启动时会引入node_modules里面包的module目录,但是build时会从commonjs目录引入,当我修改package.json让它从module目录引入时,又会出现另外的问题,SyntaxError: Named export 'BaseCC…
-
I included it in my project and it can't be built anymore:
```
Error [ERR_REQUIRE_ESM]: require() of ES Module /.../node_modules/@richienb/vlc/dist/index.js from /.../src/commands/play.ts not supp…
-
would love to use this with browserify :)
-
Can I use `gulp-wrap-js` to register CommonJS Modules?
I'm trying to provide a template like:
`.pipe(wrapJS('require.register("???", function(exports, require, module){ %= body % });'))`
but I don't …
-
I want use this lib with browserify or webpack, but it currently doesn't support CommJS
-
At the very least `app/app.js` and `app/router.js` need to lose the `define` wrapper in this mode.