forked from openshift/console
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use thread-loader, and fork-ts-checker-webpack-plugin to parallelize build & type checking. - Use cache-loader to speed up build. - Fix localStorage mock to work with new type checking. (localStorage was already decleared) - Remove awesome-typescript-loader as it is no longer used. - Add .cache-loader to gitignore.
- Loading branch information
Showing
6 changed files
with
135 additions
and
478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
let _localStorage = {}; | ||
|
||
(window as any).localStorage = { | ||
setItem(key, value) { | ||
return Object.assign(_localStorage, {[key]: value}); | ||
}, | ||
getItem(key) { | ||
return _localStorage[key]; | ||
}, | ||
clear() { | ||
_localStorage = {}; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.