mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
18 lines
409 B
JavaScript
18 lines
409 B
JavaScript
// production config
|
|
const merge = require('webpack-merge');
|
|
const {resolve} = require('path');
|
|
|
|
const commonConfig = require('./webpack.common');
|
|
|
|
module.exports = merge(commonConfig, {
|
|
mode: 'production',
|
|
entry: './src/index.tsx',
|
|
output: {
|
|
filename: 'static/js/bundle.[hash].min.js',
|
|
path: resolve(__dirname, '../build'),
|
|
publicPath: '/',
|
|
},
|
|
devtool: 'source-map',
|
|
plugins: [],
|
|
});
|