app-overview
Version:
> A visualization of the application structure. See, read & learn the code, effortlessly.
29 lines (27 loc) • 466 B
JavaScript
const path = require('path');
module.exports = {
entry: `./index.js`,
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js'
},
target: 'node',
resolve: { symlinks: false },
node: {
readline: 'empty'
},
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components|visual)/,
use: {
loader: 'babel-loader',
options: {
presets: ['es2015', 'stage-0', 'react']
}
}
}
]
}
};