-
### Acknowledgements
- [X] I read the documentation and searched existing issues to avoid duplicates
- [X] I am reporting a confirmed bug (not seek debugging help)
- [X] I understand this is a collab…
-
页面代码
import { api as viewerApi } from "v-viewer"
const showImagesInViewer = (url: string)=> {
viewerApi({
options: {
movable: false,
title: false,
…
-
I'd like to use amplify with browserify. Please add support for commonjs modules.
I did notice a commonjs package for amplify-store.
https://www.npmjs.com/package/amplify-store
-
Is it possible to use Closure compiler to produce a standalone CommonJS module, for use by dependent external (not managed by the compiler) JS code? That is, to produce a single file that exports its …
-
I'm currently working on ``Loader.jsm``, a module to implement ``require()``[1](#footnote).
The early PoC basically already works properly, finding local modules ( ``require("./moduleName")`` ) as …
-
Consuming dependencies that have to be transformed using the `@rollup/plugin-commonjs` plugin break when version `>18` of the plugin is used.
I have a simple example repository: https://github.com/…
-
Now only the ESModule target is supported. It is not a severe problem because React code is handled by bundlers. If you also need to run the code by `ts-node` you can set up your `tsconfig.json` like …
-
Similar to the comments after #92 was closed. Add CommonJS/AMD wrapper to support us browserify/webpack users.
-
Currently we do like `standard` and use `globals.node` for everything:
https://github.com/neostandard/neostandard/blob/3f65825582520709ac2900d17049340b5d9256a2/lib/configs/base.js#L16
But we sho…
-
Instead of using ESM modules, you should also be able to use require CommonJS modules.
```js
import chalk from "chalk"
```
or
```js
const chalk = require('chalk')
```
currently only the fi…