forked from webpack-contrib/webpack-bundle-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from umijs/merge/webpack-contrib-master
Merge/webpack contrib master
- Loading branch information
Showing
28 changed files
with
5,148 additions
and
4,516 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 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,8 @@ | ||
{ | ||
"ignore": { | ||
"terser-webpack-plugin": { | ||
"versions": ">= 2", | ||
"reason": "v2 requires at least Node v8.9.0" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ branches: | |
node_js: | ||
- "8" | ||
- "10" | ||
- "12" | ||
- "node" | ||
addons: | ||
apt: | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const KEY_PREFIX = 'wba'; | ||
|
||
export default { | ||
|
||
getItem(key) { | ||
try { | ||
return JSON.parse(window.localStorage.getItem(`${KEY_PREFIX}.${key}`)); | ||
} catch (err) { | ||
return null; | ||
} | ||
}, | ||
|
||
setItem(key, value) { | ||
try { | ||
window.localStorage.setItem(`${KEY_PREFIX}.${key}`, JSON.stringify(value)); | ||
} catch (err) { /* ignored */ } | ||
}, | ||
|
||
removeItem(key) { | ||
try { | ||
window.localStorage.removeItem(`${KEY_PREFIX}.${key}`); | ||
} catch (err) { /* ignored */ } | ||
} | ||
|
||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
:root { | ||
--main-font: normal 11px Verdana; | ||
--main-font: normal 11px Verdana, sans-serif; | ||
} | ||
|
||
:global html, | ||
|
Oops, something went wrong.