Fixed spread operator support in older browsers
This commit is contained in:
parent
d148cae814
commit
5abc5279f5
@ -4,12 +4,6 @@ module.exports = function(api) {
|
|||||||
return {
|
return {
|
||||||
"presets": [
|
"presets": [
|
||||||
["@babel/preset-env", {
|
["@babel/preset-env", {
|
||||||
"targets": {
|
|
||||||
"chrome": 40,
|
|
||||||
"firefox": 35,
|
|
||||||
"edge": 14,
|
|
||||||
"node": "6.5"
|
|
||||||
},
|
|
||||||
"modules": false,
|
"modules": false,
|
||||||
"useBuiltIns": "entry",
|
"useBuiltIns": "entry",
|
||||||
"corejs": 3
|
"corejs": 3
|
||||||
|
@ -10,7 +10,7 @@ import "./stylesheets/index.js";
|
|||||||
// Libs
|
// Libs
|
||||||
import "arrive";
|
import "arrive";
|
||||||
import "snackbarjs";
|
import "snackbarjs";
|
||||||
import "bootstrap-material-design";
|
import "bootstrap-material-design/js/index";
|
||||||
import "bootstrap-colorpicker";
|
import "bootstrap-colorpicker";
|
||||||
import moment from "moment-timezone";
|
import moment from "moment-timezone";
|
||||||
import * as CanvasComponents from "../core/lib/CanvasComponents";
|
import * as CanvasComponents from "../core/lib/CanvasComponents";
|
||||||
|
@ -60,7 +60,7 @@ module.exports = {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.m?js$/,
|
test: /\.m?js$/,
|
||||||
exclude: /node_modules\/(?!jsesc|crypto-api)/,
|
exclude: /node_modules\/(?!jsesc|crypto-api|bootstrap)/,
|
||||||
options: {
|
options: {
|
||||||
configFile: path.resolve(__dirname, "babel.config.js"),
|
configFile: path.resolve(__dirname, "babel.config.js"),
|
||||||
cacheDirectory: true,
|
cacheDirectory: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user