Skip to content

web: rollup executor invalid type-checking #9053

@Hotell

Description

@Hotell

Current Behavior

@nrwl/web:rollup executor uses under the hood https://github.com/ezolenko/rollup-plugin-typescript2 TS plugin.

Now because this plugin doesn't work as expected ezolenko/rollup-plugin-typescript2#298 one may/will ship invalid code to consumers.

Expected Behavior

rollup executor @nrwl/web:rollup should properly run type-checking to be on par with raw tsc

Environment

yarn : 1.22.10
  
  nx : 13.4.6
  @nrwl/angular : undefined
  @nrwl/cli : 13.4.6
  @nrwl/cypress : 13.4.6
  @nrwl/devkit : 13.4.6
  @nrwl/eslint-plugin-nx : 13.4.6
  @nrwl/express : undefined
  @nrwl/jest : 13.4.6
  @nrwl/linter : 13.4.6
  @nrwl/nest : undefined
  @nrwl/next : undefined
  @nrwl/node : undefined
  @nrwl/nx-cloud : undefined
  @nrwl/react : 13.4.6
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.4.6
  @nrwl/web : 13.4.6
  @nrwl/workspace : 13.4.6
  @nrwl/storybook : 13.4.6
  @nrwl/gatsby : undefined
  typescript : 4.4.4
  rxjs : 6.6.7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions