mirror of
https://gitee.com/antv/g6.git
synced 2024-11-30 10:48:24 +08:00
29 lines
509 B
JavaScript
29 lines
509 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',
|
|
]
|
|
} |