20 lines
455 B
JavaScript
Executable File
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/'),
|
|
},
|
|
},
|
|
};
|