Title: ts-loader's default config makes Webpack extremely slow in larger projects · Issue #91 · ionic-team/ionic-unit-testing-example · GitHub
Open Graph Title: ts-loader's default config makes Webpack extremely slow in larger projects · Issue #91 · ionic-team/ionic-unit-testing-example
X Title: ts-loader's default config makes Webpack extremely slow in larger projects · Issue #91 · ionic-team/ionic-unit-testing-example
Description: The nature of ts-loader makes it slower as the project's size increases. https://github.com/TypeStrong/ts-loader#faster-builds There are 2 options to make it fast: Use a separate process for typechecking, following ts-loader's docs in th...
Open Graph Description: The nature of ts-loader makes it slower as the project's size increases. https://github.com/TypeStrong/ts-loader#faster-builds There are 2 options to make it fast: Use a separate process for typech...
X Description: The nature of ts-loader makes it slower as the project's size increases. https://github.com/TypeStrong/ts-loader#faster-builds There are 2 options to make it fast: Use a separate process for ty...
Opengraph URL: https://github.com/ionic-team/ionic-unit-testing-example/issues/91
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ts-loader's default config makes Webpack extremely slow in larger projects","articleBody":"The nature of ts-loader makes it slower as the project's size increases.\r\nhttps://github.com/TypeStrong/ts-loader#faster-builds\r\n\r\nThere are 2 options to make it fast:\r\n\r\n- Use a separate process for typechecking, following `ts-loader`'s docs in the link above:\r\n```\r\nvar ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');\r\n[ ... ]\r\n module: {\r\n rules: [{\r\n test: /\\.ts$/,\r\n loaders: [{\r\n loader: 'ts-loader',\r\n options: {\r\n transpileOnly: true\r\n }\r\n }, 'angular2-template-loader']\r\n },\r\n[ ... ].\r\n plugins: [\r\n new ForkTsCheckerWebpackPlugin(),\r\n[ ... ]\r\n```\r\n\r\n- Use `awesome-typescript-loader`:\r\n```\r\n[ ... ]\r\n module: {\r\n rules: [{\r\n test: /\\.ts$/,\r\n loaders: ['awesome-typescript-loader', 'angular2-template-loader']\r\n },\r\n[ ... ]\r\n```\r\n\r\nAny inputs on if these changes breaks anything?","author":{"url":"https://github.com/vilanz","@type":"Person","name":"vilanz"},"datePublished":"2018-06-01T17:41:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/91/ionic-unit-testing-example/issues/91"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:638b8ebc-f006-e49a-5dad-66b297839c76 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8022:236EAA:2FCEB9B:3D9BEE3:6992B6CF |
| html-safe-nonce | 2a3cd0523084cb222bd54915b4e90ab0df62ac37a49c0f4b57f4ba544edd9567 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDIyOjIzNkVBQToyRkNFQjlCOjNEOUJFRTM6Njk5MkI2Q0YiLCJ2aXNpdG9yX2lkIjoiMjQyMDY4NTAzMzQxMTA5ODMxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 08ab622526d794a7af5ca9c6d32270ca1e69c8df01fdb5b905f714a53ac8b7c1 |
| hovercard-subject-tag | issue:328604226 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ionic-team/ionic-unit-testing-example/91/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ab8fe340af949773a21e44ac72744b6c11fa4fbbbc6bc6eea67e620caca7141/ionic-team/ionic-unit-testing-example/issues/91 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ab8fe340af949773a21e44ac72744b6c11fa4fbbbc6bc6eea67e620caca7141/ionic-team/ionic-unit-testing-example/issues/91 |
| og:image:alt | The nature of ts-loader makes it slower as the project's size increases. https://github.com/TypeStrong/ts-loader#faster-builds There are 2 options to make it fast: Use a separate process for typech... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vilanz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ionic-team/ionic-unit-testing-example git https://github.com/ionic-team/ionic-unit-testing-example.git |
| octolytics-dimension-user_id | 3171503 |
| octolytics-dimension-user_login | ionic-team |
| octolytics-dimension-repository_id | 85606733 |
| octolytics-dimension-repository_nwo | ionic-team/ionic-unit-testing-example |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85606733 |
| octolytics-dimension-repository_network_root_nwo | ionic-team/ionic-unit-testing-example |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 66ca5c603f1805ef71d7e467df063440818799b5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width