Files
frontend-app-profile/config/webpack.common.config.js
Robert Raposa f0dd65e770 Add Segment for analytics.
ARCH-376
2019-01-22 11:42:50 -05:00

17 lines
404 B
JavaScript
Executable File

// This is the common Webpack config. The dev and prod Webpack configs both
// inherit config defined here.
const path = require('path');
module.exports = {
entry: {
segment: path.resolve(__dirname, '../src/segment.js'),
app: path.resolve(__dirname, '../src/index.jsx'),
},
output: {
path: path.resolve(__dirname, '../dist'),
},
resolve: {
extensions: ['.js', '.jsx'],
},
};