Files
frontend-app-account/webpack/webpack.common.config.js
2019-04-23 15:15:12 -04:00

20 lines
455 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: {
app: path.resolve(__dirname, '../src/index.jsx'),
},
output: {
path: path.resolve(__dirname, '../dist'),
publicPath: '/',
},
resolve: {
extensions: ['.js', '.jsx'],
alias: {
'@edx/frontend-i18n': path.resolve(__dirname, '../src/i18n/'),
},
},
};