g6/.torch.compile.opts.js
2018-08-08 17:15:32 +08:00

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',
]
}