Top "Transpiler" questions

A transpiler is a compiler that translates the source code of one high-level programming language to the source code of another high-level programming language.

Extending Error in Javascript with ES6 syntax & Babel

I am trying to extend Error with ES6 and Babel. It isn't working out. class MyError extends Error { constructor(m) { …

javascript ecmascript-6 babeljs transpiler
What is target in tsconfig.json for?

What does target in tsconfig.json signify? { "compilerOptions": { "sourceMap": true, "target": "es5", "module": "commonjs", "jsx": "react", "moduleResolution": "classic", "lib": [ "es2015", "…

typescript tsconfig transpiler
Converting Python Code to PHP

Is there a software converter out there that can automatically convert this python code to PHP? #!/usr/bin/python import …

php python code-translation transpiler
Compiling vs Transpiling

While searching about the difference, I came across these definitions: Compiling is the general term for taking source code written …

compiler-construction abstraction transpiler
Maintain src/ folder structure when building to dist/ folder with Typescript 3

I have a typescript nodejs server with this structure: tsconfig.json package.json src/ middleware/ utils/ index.ts dist/ middleware/ …

typescript build tsc transpiler
Webpack with babel-loader not recognizing import keyword

I have this webpack.config.js: module.exports = { entry: './src/admin/client/index.jsx', output: { filename: './src/admin/…

javascript ecmascript-6 webpack babeljs transpiler
TypeScript via tsc command: Output to single file without concatenation

Is there a way of compiling single .ts file to different directory? The only way from the manual command of …

javascript typescript bundle tsc transpiler
Compiler vs Interpreter vs Transpiler

During a reactJS session that I was attending, the presenter used a term transpiler for some code conversion/porting happening. …

compiler-construction language-agnostic terminology interpreter transpiler
How do I use ES6 (ES2015) in a ruby on rails app?

I have a 4.2 rails app and am considering slowly converting the JS to ES6. Right now I'm using the standard …

ruby-on-rails ecmascript-6 transpiler
Typescript tsconfig to exclude some source files

I am trying to get Typescript to exclude certain files when compiling. However it doesn't seem to want to exclude …

javascript typescript tsconfig transpiler