Merge branch 'develop' into woo-7.4
This commit is contained in:
commit
c23620c89a
|
|
@ -21,7 +21,7 @@
|
|||
._*
|
||||
# but track
|
||||
!.babelrc.js
|
||||
!.browserslist
|
||||
!.browserslistrc
|
||||
!.editorconfig
|
||||
!.gitattributes
|
||||
!.github
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -16,7 +16,7 @@
|
|||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
const MAX_UID = 1_000_000;
|
||||
const MAX_UID = 1000000;
|
||||
const MILLISECONDS_MULTIPLIER = 1000;
|
||||
const TRANSITION_END = 'transitionend';
|
||||
|
||||
|
|
@ -490,7 +490,7 @@
|
|||
for (const [key, value] of Object.entries(meta || {})) {
|
||||
try {
|
||||
obj[key] = value;
|
||||
} catch {
|
||||
} catch (_unused) {
|
||||
Object.defineProperty(obj, key, {
|
||||
configurable: true,
|
||||
get() {
|
||||
|
|
@ -575,7 +575,7 @@
|
|||
}
|
||||
try {
|
||||
return JSON.parse(decodeURIComponent(value));
|
||||
} catch {
|
||||
} catch (_unused) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -14,6 +14,7 @@ const replace = require( '@rollup/plugin-replace' );
|
|||
* Internal dependencies
|
||||
*/
|
||||
const banner = require( './banner.js' );
|
||||
const babelConfig = require( './babel.config' );
|
||||
|
||||
// Determine if we want to build for Bootstrap v4 or v5.
|
||||
const BS4 = process.argv[ process.argv.length - 1 ] === 'BS4';
|
||||
|
|
@ -39,6 +40,7 @@ const external = [ 'jquery' ];
|
|||
|
||||
const plugins = [
|
||||
babel( {
|
||||
presets: babelConfig.presets,
|
||||
browserslistEnv: `bs${ bsVersion }`,
|
||||
// Include the helpers in the bundle, at most one copy of each.
|
||||
babelHelpers: 'bundled',
|
||||
|
|
|
|||
Loading…
Reference in New Issue