1. Module bundling added to reduce server calls as each file was taking ~440 ms to load on public server.\n2. JavaScript lib files refactored with OOP for use with module bundling.
This commit is contained in:
12
node_modules/browserslist/error.js
generated
vendored
Normal file
12
node_modules/browserslist/error.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
function BrowserslistError(message) {
|
||||
this.name = 'BrowserslistError'
|
||||
this.message = message
|
||||
this.browserslist = true
|
||||
if (Error.captureStackTrace) {
|
||||
Error.captureStackTrace(this, BrowserslistError)
|
||||
}
|
||||
}
|
||||
|
||||
BrowserslistError.prototype = Error.prototype
|
||||
|
||||
module.exports = BrowserslistError
|
||||
Reference in New Issue
Block a user