cabana: more polyfills and tilde on sourcemap url to support http&https
parent
415fe99b48
commit
c40c447700
|
@ -251,7 +251,7 @@ module.exports = {
|
|||
return hash; // webpack build hash
|
||||
},
|
||||
filenameTransform: function(filename) {
|
||||
return `${publicUrl}/${filename}`;
|
||||
return `~${publicUrl}/${filename}`;
|
||||
}
|
||||
}),
|
||||
new webpack.ExtendedAPIPlugin()
|
||||
|
|
|
@ -84,8 +84,10 @@
|
|||
}
|
||||
},
|
||||
"jest": {
|
||||
"globals": {
|
||||
"config": {"__JEST__": 1}
|
||||
"globals": {
|
||||
"config": {
|
||||
"__JEST__": 1
|
||||
}
|
||||
},
|
||||
"timers": "fake",
|
||||
"collectCoverageFrom": [
|
||||
|
|
|
@ -2,6 +2,7 @@ const UINT64 = require('cuint').UINT64
|
|||
import Bitarray from '../bitarray';
|
||||
require('core-js/fn/array/from');
|
||||
require('core-js/fn/number/is-integer');
|
||||
require('core-js/es6/map');
|
||||
|
||||
import CloudLog from '../../logging/CloudLog';
|
||||
import Signal from './signal';
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import DbcUtils from '../../utils/dbc';
|
||||
const UINT64 = require('cuint').UINT64
|
||||
require('core-js/fn/array/from');
|
||||
require('core-js/es6/map');
|
||||
|
||||
import Bitarray from '../bitarray';
|
||||
|
||||
|
|
Loading…
Reference in New Issue