Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Use new ts-loader and compatible version of webpack-contrib #234

Merged
merged 3 commits into from
Nov 30, 2017

Conversation

maier49
Copy link
Contributor

@maier49 maier49 commented Oct 27, 2017

Type: bug

The following has been addressed in the PR:

  • There is a related issue
  • All code matches the style guide
  • Unit or Functional tests are included in the PR

Description:
This updates the version of ts-loader used, and uses the new onlyCompileBundledFiles option. As a result, errors in test files, or other files that are not included in the resulting bundle, will not fail dojo build. dojo build -w still does not rebuild when tests are built, but dojo build -w --with-tests does, and since test files no longer break dojo build -w that's ok.

The other changes are just fixing some weird formatting issues in webpack.config.ts, and updating to the next version of webpack-contrib (not released yet) that will fix an incompatibility between the css-module-dts-loader and the new version of ts-loader.

Resolves #227, #113

@maier49 maier49 force-pushed the ignore-tests-when-not-building-tests branch from 6773195 to 6397491 Compare November 6, 2017 18:20
@maier49
Copy link
Contributor Author

maier49 commented Nov 30, 2017

@matt-gadd Is this still something we'd like to land here or should it just wait for the new build command to be completed?

@matt-gadd
Copy link
Contributor

matt-gadd commented Nov 30, 2017

@maier49 lets land this 👍

@maier49 maier49 merged commit c4d57b8 into dojo:master Nov 30, 2017
@maier49 maier49 deleted the ignore-tests-when-not-building-tests branch November 30, 2017 19:49
@dylans dylans added this to the beta.5 milestone Dec 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent build from failing for TS errors in files outside of webpack bundles
4 participants