-
- Rollup Plugin Name: commonjs
- Rollup Plugin Version: 20.0.0
- Rollup Version: 2.56.3
- Operating System (or Browser): macOS
- Node Version: 16
- Link to reproduction _(⚠️ read below)_: https:/…
-
# `SyntaxError: Unexpected token 'export'` when importing `@1inch/cross-chain-sdk` in Node.js
## Description
I encountered issues when trying to use `@1inch/cross-chain-sdk` in my project. Below…
-
## Issue Description
I am trying to run the typeorm cli using typeorm-ts-node-commonjs to generate migrations and it doesn't work.
### Expected Behavior
It should work.
### Actual Behavior…
-
I'm trying to use the package in my project, but I'm getting an import error deep inside the @vercel/otel package, so there's nothing I can do about it.
I created the official nextjs example from t…
-
```
mport { A } from '@mobily/ts-belt';
^
SyntaxError: Named export 'A' not found. The requested module '@mobily/ts-belt' is a CommonJS module, which may not support all module.exports as …
-
```
Error [ERR_REQUIRE_ESM]: require() of ES Module node_modules\bad-words\dist\index.js from \dist\schedules\transactions.scheduler.js not supported.
index.js is treated as an ES module file as it …
-
`package.json`
```
{
"scripts": {
"stylelint-scss-check": "stylelint-config-prettier-scss-check",
}
}
```
run : `npm run stylelint-scss-check`
```bash
(node:5692) [stylelint:002] Depr…
ajiho updated
2 months ago
-
Any chance you could update the build process to export modules so TS apps can use this library without importing the entire library before doing destructuring?
-
Example: https://github.com/tim-kos/node-retry/pull/87/files
Not sure if this can be done with Babel?
-
Refactor in a modular / CommonJS way.
As it is it's too much of a burden to use.