cabana: more polyfills and tilde on sourcemap url to support http&https

main
Andy Haden 2017-07-12 16:25:29 -07:00
parent 415fe99b48
commit c40c447700
4 changed files with 7 additions and 3 deletions

View File

@ -251,7 +251,7 @@ module.exports = {
return hash; // webpack build hash
},
filenameTransform: function(filename) {
return `${publicUrl}/${filename}`;
return `~${publicUrl}/${filename}`;
}
}),
new webpack.ExtendedAPIPlugin()

View File

@ -84,8 +84,10 @@
}
},
"jest": {
"globals": {
"config": {"__JEST__": 1}
"globals": {
"config": {
"__JEST__": 1
}
},
"timers": "fake",
"collectCoverageFrom": [

View File

@ -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';

View File

@ -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';