-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using of pkg to transfrom in binary #10
Comments
Hi @ShintaroNippon! plugins: [
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": 2,
"helpers": true,
"regenerator": true,
"useESModules": false
}
]
// ... other babel plugins.
] For now, we'll enable corejs-2 and default the rest, You can play around the options to this to explore more. |
HI there thanks by the reply,
it is possible to use on this
how can I do it? Thanks |
Like so. module.exports = {
overrides: [
{
test: '*',
presets: [
['@babel/preset-env', {'node': 'current'}],
],
},
],
plugins: [
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": 2,
"helpers": true,
"regenerator": true,
"useESModules": false,
},
],
],
} |
Many thanks, I will try it... I will give feedback. |
Hi there... Thanks once again but I got other error....
|
Please post your |
HI there, thanks by the help I really appreciate... babel.config.js
and next.config.js
|
Hi there.. I have created a repository in order to test... please can you check ? github.com/ShintaroNippon/next-express-bootstrap-boilerplate
|
I will try to check if I can. |
I really appreciate... Many thanks |
HI there, thanks by the boilerplate
I'm using this package :https://github.com/zeit/pkg
and ran;
pkg app.js
shintaro@shintaro-PC:~/Desktop/projects/github/frontend$ ./app-linux
I already remove the babelrc
can you help please or test this approach?
thanks
Carlos Vieira
The text was updated successfully, but these errors were encountered: