14 lines
348 B
JavaScript
Executable file
14 lines
348 B
JavaScript
Executable file
// Transpile all code following this line with babel and use '@babel/preset-env' (aka ES6) preset.
|
|
require("@babel/register")({
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
targets: { browsers: ["last 2 chrome versions"] },
|
|
},
|
|
],
|
|
],
|
|
});
|
|
|
|
// Import the rest of our application.
|
|
module.exports = require("./src/app.ts");
|