-
I have a class like this:
```` javascript
export default class MyClass {
constructor(options) {
this.prop = null;
if(options) {
this.prop = options.prop || this.prop;
}
…
-
Please add support for converting the groovy files into js using commonJs modules. For example having next code:
```groovy
// Person.groovy
package com.example.grooscript_sample.models
class P…
-
Importing a worker in ES6 mode fails on Windows:
```js
worker = new Worker(new URL('./worker.js', import.meta.url), {type: 'module'});
```
ends with:
```
Error [ERR_UNSUPPORTED_ESM_URL_SCH…
-
import dotenv from "dotenv";
dotenv.config({ silent: process.env.NODE_ENV === 'production' });
const session = require('express-session');
const passport = require("passport");
import express from…
-
The example here uses the full turf package version of length. https://www.npmjs.com/package/@turf/length
Here is one possible correct example
```
import turfLength from "@turf/length";
const …
-
Input 0
``` javascript
/** @enum {string} */
export default {
CIRCLE: "circle",
SQUARE: "square",
};
```
Input 1
``` javascript
import ShapeType from "./input0";
let /** ShapeType *…
-
I'm interested in having Gopherjs produce rather than a single javascript file, multiple files - one for each Go package. This would provide huge benefits to those of us using a modern modular workflo…
-
I didn't see any other posts in here but I am experiencing the following warning in Angular 10
```
node_modules/ngx-virtual-scroller/__ivy_ngcc__/fesm2015/ngx-virtual-scroller.js depends on '@tweenj…
-
I'm trying to use mocha as it's written in readme and getting following error:
```
$ mocha -r svelte-test-register
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".svelte" for /…
-
For ease of use w/ modern frameworks, it will be vital for mil-sym-js to be structured as ES6 modules so mil-sym-js can be pulled down from npm and imported into web applications.