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.

Split the package into framework-specific plugins #729

Open
Assignees
sis0k0
Labels
@sis0k0

Description

@sis0k0

Follows up on#685

What?

Thenativescript-dev-webpack package will be split into several packages that are framework-specific:

  • @nativescript/webpack-core will contain the common build logic and willNOT be a dependency in the user projects. It will be a dependency of the framework-specific packages.
  • @nativescript/webpack-ng will be the webpack build package for NativeScript Angular projects.
  • @nativescript/webpack-vue will be the webpack build package for NativeScript Vue projects.
  • @nativescript/webpack-ts will be the webpack build package for NativeScript TypeScript projects.
  • @nativescript/webpack-js - will be the webpack build package for NativeScript JavaScript projects.

How?

Monorepo, managed withLerna.

Migration

Thenativescript-dev-webpack plugin will be deprecated and the new packages will be released. The developers should start using framework-specific plugins in their projects.
For example, if the project is built with NativeScript Angular, the migration steps are:

  1. Removenativescript-dev-webpack:
npm uninstall -D nativescript-dev-webpack
  1. Add@nativescript/webpack-ng asdevDependency:
npm install -D @nativescript/webpack-ng

Metadata

Metadata

Assignees

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