Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Babel integration is not complete #1043

Open
Labels
@SamShekhovtsov

Description

@SamShekhovtsov

Environment

  • CLI: 6.0.3
  • Cross-platform modules:
  • Android Runtime: 28
  • iOS Runtime:
  • Plugin(s): @babel/cli, @babel/core, @babel/preset-env, @babel/preset-react, @babel/register, babel-loader, nativescript-dev-babel, copy-webpack-plugin, webpack-cli
  • Node.js: 12.10.0

Describe the bug
The Babel integration is not complete, it's not possible to use ES6 for webpack.config.js file. In case, if I do webpack.config.babel.js with ES6, the tns build android command returns error, however webpack --dev.android runs successfully.

To Reproduce
create sample Nativescript 6.x application. Execute$ tns install babel, rename webpack.config.js to webpack.config.babel.js use ES6 javascript for the configuration file. Try to execute$ tns build android.

Expected behavior
the project builds successfully, webpack.config.babel.js is automatically engaged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp