mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 21:28:33 +08:00
27 lines
489 B
JavaScript
27 lines
489 B
JavaScript
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'],
|
|
include: [
|
|
'src/**/*.js',
|
|
'plugins/**/*.js',
|
|
],
|
|
exclude: /(node_modules|bower_components)/
|
|
}
|