zoukankan      html  css  js  c++  java
  • Kibana did not load properly

    1.[BABEL] Note: The code generator has deoptimised the styling of "unknown" as it exceeds the max of "

    [BABEL] Note: The code generator has deoptimised the styling of "unknown" as it exceeds the max of "500KB".

    .babelrc文件添加 "compact": false

    cd /do1cloud/kibana-6.5.4-linux-x86_64/node_modules/polished/

    [root@wlt-overseas-ELK polished]# cat ./.babelrc.js
    const { BABEL_ENV, NODE_ENV } = process.env
    const cjs = BABEL_ENV === 'cjs' || NODE_ENV === 'test'
    "compact": false
    module.exports = {
    presets: [
    ['env', {
    modules: false,
    loose: true,
    exclude: ['transform-es2015-typeof-symbol'],
    }]
    ],
    plugins: [
    cjs && 'add-module-exports',
    cjs && 'transform-es2015-modules-commonjs',
    'transform-object-rest-spread',
    'transform-flow-strip-types',
    'syntax-trailing-function-commas',
    'annotate-pure-calls'
    ].filter(Boolean)
    }

    用一个例子来演示会更加清晰
  • 相关阅读:
    Oracle 更改DBID
    Oracle 修改字段长度
    Oracle 索引
    Oracle在无法打开数据库的状态下获取DBID
    Oracle 备份脚本
    Linux crontab计划任务
    Oracle restore和recovery的区别
    Django基础
    面向对象(一)
    socket
  • 原文地址:https://www.cnblogs.com/hixiaowei/p/13846403.html
Copyright © 2011-2022 走看看