mirror of
https://gitee.com/antv/g6.git
synced 2024-12-01 03:08:33 +08:00
chore(minimap): modify dependency
This commit is contained in:
parent
15f28ece4e
commit
6da87de606
@ -1,10 +1,26 @@
|
||||
module.exports = {
|
||||
babelrc: {
|
||||
plugins: [
|
||||
'@babel/plugin-proposal-object-rest-spread',
|
||||
'transform-remove-strict-mode',
|
||||
[
|
||||
"module-resolver",
|
||||
{
|
||||
"alias": {
|
||||
'@antv/g6': './src/index'
|
||||
},
|
||||
}
|
||||
],
|
||||
],
|
||||
presets: [
|
||||
"@babel/preset-env",
|
||||
],
|
||||
sourceMaps: 'inline',
|
||||
},
|
||||
extensions: ['.js'],
|
||||
exclude: ['node_modules', 'bower_components']
|
||||
include: [
|
||||
'src/**/*.js',
|
||||
'plugins/**/*.js',
|
||||
],
|
||||
exclude: /(node_modules|bower_components)/
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
const G = require('@antv/g/lib');
|
||||
const G = require('@antv/g6').G;
|
||||
const Base = require('../base');
|
||||
const isString = require('@antv/util/lib/type/is-string');
|
||||
const isNil = require('@antv/util/lib/type/is-nil');
|
||||
|
Loading…
Reference in New Issue
Block a user