mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
29 lines
508 B
JavaScript
29 lines
508 B
JavaScript
module.exports = {
|
|
babelrc: {
|
|
plugins: [
|
|
'transform-object-rest-spread',
|
|
'transform-remove-strict-mode',
|
|
[
|
|
"module-resolver",
|
|
{
|
|
"alias": {
|
|
'@antv/g6': './src/index'
|
|
},
|
|
}
|
|
],
|
|
],
|
|
presets: [
|
|
'env'
|
|
],
|
|
sourceMaps: 'inline',
|
|
},
|
|
extensions: ['.js'],
|
|
include: [
|
|
'src/**/*.js',
|
|
'plugins/**/*.js',
|
|
'node_modules/**/src/gl-matrix/**/*.js'
|
|
],
|
|
exclude: [
|
|
'bower_components/**/*.js',
|
|
]
|
|
} |